org.apache.wink.server.utils
Class RegistrationUtils.InnerApplication

java.lang.Object
  extended by javax.ws.rs.core.Application
      extended by org.apache.wink.common.WinkApplication
          extended by org.apache.wink.server.utils.RegistrationUtils.InnerApplication
Enclosing class:
RegistrationUtils

public static class RegistrationUtils.InnerApplication
extends WinkApplication


Field Summary
 
Fields inherited from class org.apache.wink.common.WinkApplication
DEFAULT_PRIORITY, SYSTEM_PRIORITY
 
Constructor Summary
RegistrationUtils.InnerApplication(java.lang.Class<?>... classes)
           
RegistrationUtils.InnerApplication(java.lang.Object... instances)
           
RegistrationUtils.InnerApplication(java.util.Set<java.lang.Class<?>> set)
           
 
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
 

Constructor Detail

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)
Method Detail

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.