Apache CXF API

org.apache.cxf.jaxrs.model
Class AbstractResourceInfo

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

public abstract class AbstractResourceInfo
extends Object


Field Summary
static String CONSTRUCTOR_PROXY_MAP
           
protected  Class<?> resourceClass
           
protected  boolean root
           
protected  Class<?> serviceClass
           
 
Constructor Summary
protected AbstractResourceInfo(Bus bus)
           
protected AbstractResourceInfo(Class<?> resourceClass, Class<?> serviceClass, boolean isRoot, boolean checkContexts, Bus bus)
           
protected AbstractResourceInfo(Class<?> resourceClass, Class<?> serviceClass, boolean isRoot, boolean checkContexts, Map<Class<?>,ThreadLocalProxy<?>> constructorProxies, Bus bus, Object provider)
           
 
Method Summary
static void clearAllMaps()
           
 void clearThreadLocalProxies()
           
 boolean contextsAvailable()
           
 Bus getBus()
           
 Map<Class<?>,ThreadLocalProxy<?>> getConstructorProxies()
           
 ThreadLocalProxy<?> getContextFieldProxy(Field f)
           
 List<Field> getContextFields()
           
 Map<Class<?>,Method> getContextMethods()
           
 ThreadLocalProxy<?> getContextSetterProxy(Method m)
           
 Class<?> getResourceClass()
           
 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

CONSTRUCTOR_PROXY_MAP

public static final String CONSTRUCTOR_PROXY_MAP
See Also:
Constant Field Values

root

protected boolean root

resourceClass

protected Class<?> resourceClass

serviceClass

protected Class<?> serviceClass
Constructor Detail

AbstractResourceInfo

protected AbstractResourceInfo(Bus bus)

AbstractResourceInfo

protected AbstractResourceInfo(Class<?> resourceClass,
                               Class<?> serviceClass,
                               boolean isRoot,
                               boolean checkContexts,
                               Bus bus)

AbstractResourceInfo

protected AbstractResourceInfo(Class<?> resourceClass,
                               Class<?> serviceClass,
                               boolean isRoot,
                               boolean checkContexts,
                               Map<Class<?>,ThreadLocalProxy<?>> constructorProxies,
                               Bus bus,
                               Object provider)
Method Detail

contextsAvailable

public boolean contextsAvailable()

getBus

public Bus getBus()

setResourceClass

public void setResourceClass(Class<?> rClass)

getServiceClass

public Class<?> getServiceClass()

getConstructorProxies

public Map<Class<?>,ThreadLocalProxy<?>> getConstructorProxies()

getContextMethods

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

isRoot

public boolean isRoot()

getResourceClass

public Class<?> getResourceClass()

getContextFields

public List<Field> getContextFields()

getContextFieldProxy

public ThreadLocalProxy<?> getContextFieldProxy(Field f)

getContextSetterProxy

public ThreadLocalProxy<?> getContextSetterProxy(Method m)

isSingleton

public abstract boolean isSingleton()

clearAllMaps

public static void clearAllMaps()

clearThreadLocalProxies

public void clearThreadLocalProxies()

Apache CXF API

Apache CXF