org.apache.cxf.jaxrs.model
Class ClassResourceInfo
java.lang.Object
org.apache.cxf.jaxrs.model.AbstractResourceInfo
org.apache.cxf.jaxrs.model.BeanResourceInfo
org.apache.cxf.jaxrs.model.ClassResourceInfo
public class ClassResourceInfo
- extends BeanResourceInfo
Constructor Summary |
ClassResourceInfo(Class<?> theResourceClass)
|
ClassResourceInfo(Class<?> theResourceClass,
boolean theRoot)
|
ClassResourceInfo(Class<?> theResourceClass,
Class<?> theServiceClass)
|
ClassResourceInfo(Class<?> theResourceClass,
Class<?> theServiceClass,
boolean theRoot)
|
ClassResourceInfo(Class<?> theResourceClass,
Class<?> theServiceClass,
boolean theRoot,
boolean enableStatic,
boolean createdFromModel,
Bus bus)
|
ClassResourceInfo(Class<?> theResourceClass,
Class<?> c,
boolean theRoot,
boolean enableStatic,
boolean createdFromModel,
String consumesTypes,
String producesTypes,
Bus bus)
|
ClassResourceInfo(Class<?> theResourceClass,
Class<?> theServiceClass,
boolean theRoot,
boolean enableStatic,
Bus bus)
|
ClassResourceInfo(ClassResourceInfo cri)
|
Methods inherited from class org.apache.cxf.jaxrs.model.AbstractResourceInfo |
clearAllMaps, clearThreadLocalProxies, getBus, getConstructorProxies, getContextFieldProxy, getContextFields, getContextMethods, getContextSetterProxy, getResourceClass, getServiceClass, isRoot, setResourceClass |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassResourceInfo
public ClassResourceInfo(ClassResourceInfo cri)
ClassResourceInfo
public ClassResourceInfo(Class<?> theResourceClass,
Class<?> theServiceClass,
boolean theRoot,
boolean enableStatic,
Bus bus)
ClassResourceInfo
public ClassResourceInfo(Class<?> theResourceClass,
Class<?> theServiceClass,
boolean theRoot,
boolean enableStatic,
boolean createdFromModel,
Bus bus)
ClassResourceInfo
public ClassResourceInfo(Class<?> theResourceClass,
Class<?> c,
boolean theRoot,
boolean enableStatic,
boolean createdFromModel,
String consumesTypes,
String producesTypes,
Bus bus)
ClassResourceInfo
public ClassResourceInfo(Class<?> theResourceClass)
ClassResourceInfo
public ClassResourceInfo(Class<?> theResourceClass,
boolean theRoot)
ClassResourceInfo
public ClassResourceInfo(Class<?> theResourceClass,
Class<?> theServiceClass)
ClassResourceInfo
public ClassResourceInfo(Class<?> theResourceClass,
Class<?> theServiceClass,
boolean theRoot)
findResource
public ClassResourceInfo findResource(Class<?> typedClass,
Class<?> instanceClass)
contextsAvailable
public boolean contextsAvailable()
- Overrides:
contextsAvailable
in class AbstractResourceInfo
getSubResource
public ClassResourceInfo getSubResource(Class<?> typedClass,
Class<?> instanceClass)
getSubResource
public ClassResourceInfo getSubResource(Class<?> typedClass,
Class<?> instanceClass,
Object instance)
getSubResource
public ClassResourceInfo getSubResource(Class<?> typedClass,
Class<?> instanceClass,
Object instance,
boolean resolveContexts,
Message message)
addSubClassResourceInfo
public void addSubClassResourceInfo(ClassResourceInfo cri)
getSubResources
public Collection<ClassResourceInfo> getSubResources()
getNameBindings
public Set<String> getNameBindings()
setNameBindings
public void setNameBindings(Set<String> names)
getAllowedMethods
public Set<String> getAllowedMethods()
getURITemplate
public URITemplate getURITemplate()
setURITemplate
public void setURITemplate(URITemplate u)
getMethodDispatcher
public MethodDispatcher getMethodDispatcher()
setMethodDispatcher
public void setMethodDispatcher(MethodDispatcher md)
hasSubResources
public boolean hasSubResources()
isCreatedFromModel
public boolean isCreatedFromModel()
getResourceProvider
public ResourceProvider getResourceProvider()
setResourceProvider
public void setResourceProvider(ResourceProvider rp)
getProduceMime
public List<javax.ws.rs.core.MediaType> getProduceMime()
getConsumeMime
public List<javax.ws.rs.core.MediaType> getConsumeMime()
getPath
public javax.ws.rs.Path getPath()
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton
in class AbstractResourceInfo
setParent
public void setParent(ClassResourceInfo parent)
getParent
public ClassResourceInfo getParent()
initBeanParamInfo
public void initBeanParamInfo(ServerProviderFactory factory)
Apache CXF