Apache CXF API

org.apache.cxf.jaxrs.model
Class AbstractResourceInfo

java.lang.Object
  extended by org.apache.cxf.jaxrs.model.AbstractResourceInfo
Direct Known Subclasses:
ClassResourceInfo, ProviderInfo

public abstract class AbstractResourceInfo
extends Object


Field Summary
protected  Class<?> resourceClass
           
protected  boolean root
           
protected  Class<?> serviceClass
           
 
Constructor Summary
protected AbstractResourceInfo()
           
protected AbstractResourceInfo(Class<?> resourceClass, Class<?> serviceClass, boolean isRoot)
           
 
Method Summary
 void clearThreadLocalProxies()
           
 ThreadLocalProxy getContextFieldProxy(Field f)
           
 List<Field> getContextFields()
           
 Map<Class<?>,Method> getContextMethods()
           
 ThreadLocalProxy getContextSetterProxy(Method m)
           
 Class<?> getResourceClass()
           
 ThreadLocalProxy getResourceFieldProxy(Field f)
           
 List<Field> getResourceFields()
           
 Class<?> getServiceClass()
           
 boolean isRoot()
           
abstract  boolean isSingleton()
           
 void setResourceClass(Class<?> rClass)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

root

protected boolean root

resourceClass

protected Class<?> resourceClass

serviceClass

protected Class<?> serviceClass
Constructor Detail

AbstractResourceInfo

protected AbstractResourceInfo()

AbstractResourceInfo

protected AbstractResourceInfo(Class<?> resourceClass,
                               Class<?> serviceClass,
                               boolean isRoot)
Method Detail

setResourceClass

public void setResourceClass(Class<?> rClass)

getServiceClass

public Class<?> getServiceClass()

getContextMethods

public Map<Class<?>,Method> getContextMethods()

isRoot

public boolean isRoot()

getResourceClass

public Class<?> getResourceClass()

getContextFields

public List<Field> getContextFields()

getResourceFields

public List<Field> getResourceFields()

getContextFieldProxy

public ThreadLocalProxy getContextFieldProxy(Field f)

getResourceFieldProxy

public ThreadLocalProxy getResourceFieldProxy(Field f)

getContextSetterProxy

public ThreadLocalProxy getContextSetterProxy(Method m)

isSingleton

public abstract boolean isSingleton()

clearThreadLocalProxies

public void clearThreadLocalProxies()

Apache CXF API

Apache CXF