org.apache.wink.server.utils
Class RegistrationUtils.InnerApplication
java.lang.Object
javax.ws.rs.core.Application
org.apache.wink.common.WinkApplication
org.apache.wink.server.utils.RegistrationUtils.InnerApplication
- Enclosing class:
- RegistrationUtils
public static class RegistrationUtils.InnerApplication
- extends WinkApplication
Method Summary |
java.util.Set<java.lang.Class<?>> |
getClasses()
|
java.util.Set<java.lang.Object> |
getInstances()
Returns instances of resources or providers. |
double |
getPriority()
Returns the Application priority. |
void |
setPriority(double priority)
|
Methods inherited from class javax.ws.rs.core.Application |
getSingletons |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegistrationUtils.InnerApplication
public RegistrationUtils.InnerApplication(java.util.Set<java.lang.Class<?>> set)
RegistrationUtils.InnerApplication
public RegistrationUtils.InnerApplication(java.lang.Class<?>... classes)
RegistrationUtils.InnerApplication
public RegistrationUtils.InnerApplication(java.lang.Object... instances)
getClasses
public java.util.Set<java.lang.Class<?>> getClasses()
- Overrides:
getClasses
in class WinkApplication
getInstances
public java.util.Set<java.lang.Object> getInstances()
- Description copied from class:
WinkApplication
- Returns instances of resources or providers. The implementation should
ignore and warn about the classes returned by getClasses() or by
getSingletons() methods.
- Overrides:
getInstances
in class WinkApplication
- Returns:
- a set of instances of resources or providers.
setPriority
public void setPriority(double priority)
getPriority
public double getPriority()
- Description copied from class:
WinkApplication
- Returns the Application priority.
- Overrides:
getPriority
in class WinkApplication
- Returns:
- priority
Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.