public abstract class CdiResourceProvider extends Object implements org.apache.cxf.jaxrs.lifecycle.ResourceProvider
| 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 javax.enterprise.inject.spi.Bean<?> |
bean |
protected org.apache.webbeans.container.BeanManagerImpl |
bm |
protected ClassLoader |
classLoader |
protected Class<?> |
clazz |
protected Constructor<?> |
constructor |
protected Context |
context |
protected Collection<Class<?>> |
contextTypes |
protected Collection<org.apache.openejb.Injection> |
injections |
static String |
INSTANCE_KEY |
protected CdiResourceProvider.BeanCreator |
normalScopeCreator |
protected Method |
postConstructMethod |
protected Method |
preDestroyMethod |
protected org.apache.webbeans.config.WebBeansContext |
webbeansContext |
| Constructor and Description |
|---|
CdiResourceProvider(ClassLoader loader,
Class<?> clazz,
Collection<org.apache.openejb.Injection> injectionCollection,
Context initialContext,
org.apache.webbeans.config.WebBeansContext owbCtx) |
| Modifier and Type | Method and Description |
|---|---|
ClassLoader |
getClassLoader() |
Object |
getInstance(org.apache.cxf.message.Message m) |
Class<?> |
getResourceClass() |
boolean |
isSingleton() |
void |
releaseInstance(org.apache.cxf.message.Message m,
Object o) |
public static final String INSTANCE_KEY
protected final Collection<org.apache.openejb.Injection> injections
protected final Context context
protected final org.apache.webbeans.config.WebBeansContext webbeansContext
protected final Class<?> clazz
protected final Method postConstructMethod
protected final Method preDestroyMethod
protected final ClassLoader classLoader
protected final Collection<Class<?>> contextTypes
protected final CdiResourceProvider.BeanCreator normalScopeCreator
protected final org.apache.webbeans.container.BeanManagerImpl bm
protected final javax.enterprise.inject.spi.Bean<?> bean
protected Constructor<?> constructor
public CdiResourceProvider(ClassLoader loader, Class<?> clazz, Collection<org.apache.openejb.Injection> injectionCollection, Context initialContext, org.apache.webbeans.config.WebBeansContext owbCtx)
public Object getInstance(org.apache.cxf.message.Message m)
getInstance in interface org.apache.cxf.jaxrs.lifecycle.ResourceProviderpublic void releaseInstance(org.apache.cxf.message.Message m,
Object o)
releaseInstance in interface org.apache.cxf.jaxrs.lifecycle.ResourceProviderpublic Class<?> getResourceClass()
getResourceClass in interface org.apache.cxf.jaxrs.lifecycle.ResourceProviderpublic boolean isSingleton()
isSingleton in interface org.apache.cxf.jaxrs.lifecycle.ResourceProviderpublic ClassLoader getClassLoader()
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.