org.apache.wink.spring
Class Registrar
java.lang.Object
javax.ws.rs.core.Application
org.apache.wink.common.WinkApplication
org.apache.wink.spring.Registrar
public class Registrar
- extends WinkApplication
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 |
Registrar
public Registrar()
getClasses
public Set<Class<?>> getClasses()
- Overrides:
getClasses
in class WinkApplication
setClasses
public void setClasses(Set<Class<?>> classes)
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
register
public void register(org.apache.wink.server.internal.registry.ResourceRegistry resourceRegistry,
org.apache.wink.common.internal.registry.ProvidersRegistry providersRegistry)
setInstances
public void setInstances(Set<Object> instances)
getInstances
public Set<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.
Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.