public abstract class CdiResourceProvider
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
protected static interface |
CdiResourceProvider.BeanCreator |
protected class |
CdiResourceProvider.DefaultBeanCreator |
protected class |
CdiResourceProvider.ProvidedInstanceBeanCreator |
protected class |
CdiResourceProvider.PseudoScopedCdiBeanCreator |
Modifier and Type | Field and Description |
---|---|
protected <any> |
bean |
protected BeanManagerImpl |
bm |
protected java.lang.ClassLoader |
classLoader |
protected java.lang.Class<?> |
clazz |
protected java.lang.reflect.Constructor<?> |
constructor |
protected javax.naming.Context |
context |
protected java.util.Collection<java.lang.Class<?>> |
contextTypes |
protected java.util.Collection<Injection> |
injections |
static java.lang.String |
INSTANCE_KEY |
protected CdiResourceProvider.BeanCreator |
normalScopeCreator |
protected java.lang.reflect.Method |
postConstructMethod |
protected java.lang.reflect.Method |
preDestroyMethod |
protected WebBeansContext |
webbeansContext |
Constructor and Description |
---|
CdiResourceProvider(java.lang.ClassLoader loader,
java.lang.Class<?> clazz,
java.util.Collection<Injection> injectionCollection,
javax.naming.Context initialContext,
WebBeansContext owbCtx) |
Modifier and Type | Method and Description |
---|---|
java.lang.ClassLoader |
getClassLoader() |
java.lang.Object |
getInstance(Message m) |
java.lang.Class<?> |
getResourceClass() |
boolean |
isSingleton() |
void |
releaseInstance(Message m,
java.lang.Object o) |
public static final java.lang.String INSTANCE_KEY
protected final java.util.Collection<Injection> injections
protected final javax.naming.Context context
protected final WebBeansContext webbeansContext
protected final java.lang.Class<?> clazz
protected final java.lang.reflect.Method postConstructMethod
protected final java.lang.reflect.Method preDestroyMethod
protected final java.lang.ClassLoader classLoader
protected final java.util.Collection<java.lang.Class<?>> contextTypes
protected final CdiResourceProvider.BeanCreator normalScopeCreator
protected final BeanManagerImpl bm
protected final <any> bean
protected java.lang.reflect.Constructor<?> constructor
public CdiResourceProvider(java.lang.ClassLoader loader, java.lang.Class<?> clazz, java.util.Collection<Injection> injectionCollection, javax.naming.Context initialContext, WebBeansContext owbCtx)
public java.lang.Object getInstance(Message m)
public void releaseInstance(Message m, java.lang.Object o)
public java.lang.Class<?> getResourceClass()
public boolean isSingleton()
public java.lang.ClassLoader getClassLoader()