Apache CXF API

org.apache.cxf.jaxrs.model
Class ClassResourceInfo

java.lang.Object
  extended by org.apache.cxf.jaxrs.model.AbstractResourceInfo
      extended by org.apache.cxf.jaxrs.model.ClassResourceInfo

public class ClassResourceInfo
extends AbstractResourceInfo


Field Summary
 
Fields inherited from class org.apache.cxf.jaxrs.model.AbstractResourceInfo
resourceClass, root, serviceClass
 
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)
           
 
Method Summary
 void addSubClassResourceInfo(ClassResourceInfo cri)
           
 ClassResourceInfo findResource(Class<?> typedClass, Class<?> instanceClass)
           
 Set<String> getAllowedMethods()
           
 List<javax.ws.rs.core.MediaType> getConsumeMime()
           
 MethodDispatcher getMethodDispatcher()
           
 List<Field> getParameterFields()
           
 List<Method> getParameterMethods()
           
 javax.ws.rs.Path getPath()
           
 List<javax.ws.rs.core.MediaType> getProduceMime()
           
 ResourceProvider getResourceProvider()
           
 ClassResourceInfo getSubResource(Class<?> typedClass, Class<?> instanceClass)
           
 Collection<ClassResourceInfo> getSubResources()
           
 URITemplate getURITemplate()
           
 boolean hasSubResources()
           
 boolean isCreatedFromModel()
           
 boolean isSingleton()
           
 void setMethodDispatcher(MethodDispatcher md)
           
 void setResourceProvider(ResourceProvider rp)
           
 void setURITemplate(URITemplate u)
           
 
Methods inherited from class org.apache.cxf.jaxrs.model.AbstractResourceInfo
clearAllMaps, clearThreadLocalProxies, getBus, 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
 

Constructor Detail

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

findResource

public ClassResourceInfo findResource(Class<?> typedClass,
                                      Class<?> instanceClass)

getSubResource

public ClassResourceInfo getSubResource(Class<?> typedClass,
                                        Class<?> instanceClass)

getSubResources

public Collection<ClassResourceInfo> getSubResources()

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()

addSubClassResourceInfo

public void addSubClassResourceInfo(ClassResourceInfo cri)

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()

getParameterMethods

public List<Method> getParameterMethods()

getParameterFields

public List<Field> getParameterFields()

isSingleton

public boolean isSingleton()
Specified by:
isSingleton in class AbstractResourceInfo

Apache CXF API

Apache CXF