public class CdiPlugin
extends org.apache.webbeans.spi.plugins.AbstractOwbPlugin
implements org.apache.webbeans.spi.plugins.OpenWebBeansJavaEEPlugin, org.apache.webbeans.spi.plugins.OpenWebBeansEjbPlugin
| Constructor and Description |
|---|
CdiPlugin() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearProxies() |
void |
configureDeployments(List<BeanContext> ejbDeployments) |
<T> javax.enterprise.inject.spi.Bean<T> |
defineNewSessionBean(Class<T> clazz) |
<T> javax.enterprise.inject.spi.Bean<T> |
defineSessionBean(Class<T> clazz,
javax.enterprise.inject.spi.ProcessAnnotatedType<T> processAnnotateTypeEvent) |
static Method |
doResolveViewMethod(javax.enterprise.inject.spi.Bean<?> component,
Method declaredMethod) |
CdiAppContextsService |
getContexsServices() |
Object |
getSessionBeanProxy(javax.enterprise.inject.spi.Bean<?> inBean,
Class<?> interfce,
javax.enterprise.context.spi.CreationalContext<?> creationalContext) |
<T> T |
getSupportedService(Class<T> serviceClass) |
void |
isManagedBean(Class<?> clazz) |
boolean |
isNewSessionBean(Class<?> clazz) |
boolean |
isSessionBean(Class<?> clazz) |
boolean |
isSingletonBean(Class<?> clazz) |
boolean |
isStatefulBean(Class<?> clazz) |
boolean |
isStatelessBean(Class<?> clazz) |
Method |
resolveViewMethod(javax.enterprise.inject.spi.Bean<?> component,
Method declaredMethod) |
void |
setClassLoader(ClassLoader classLoader) |
void |
setWebBeansContext(org.apache.webbeans.config.WebBeansContext webBeansContext) |
void |
shutDown() |
void |
startup() |
void |
stop() |
boolean |
supportService(Class<?> serviceClass) |
startUp, supportsJavaEeComponentInjectionspublic void setWebBeansContext(org.apache.webbeans.config.WebBeansContext webBeansContext)
public void setClassLoader(ClassLoader classLoader)
public void shutDown()
shutDown in interface org.apache.webbeans.spi.plugins.OpenWebBeansPluginshutDown in class org.apache.webbeans.spi.plugins.AbstractOwbPluginpublic void configureDeployments(List<BeanContext> ejbDeployments)
public CdiAppContextsService getContexsServices()
public void startup()
public void stop()
throws OpenEJBException
OpenEJBExceptionpublic <T> T getSupportedService(Class<T> serviceClass)
getSupportedService in interface org.apache.webbeans.spi.plugins.OpenWebBeansPlugingetSupportedService in class org.apache.webbeans.spi.plugins.AbstractOwbPluginpublic void isManagedBean(Class<?> clazz)
isManagedBean in interface org.apache.webbeans.spi.plugins.OpenWebBeansPluginisManagedBean in class org.apache.webbeans.spi.plugins.AbstractOwbPluginpublic boolean supportService(Class<?> serviceClass)
supportService in interface org.apache.webbeans.spi.plugins.OpenWebBeansPluginsupportService in class org.apache.webbeans.spi.plugins.AbstractOwbPluginpublic Object getSessionBeanProxy(javax.enterprise.inject.spi.Bean<?> inBean, Class<?> interfce, javax.enterprise.context.spi.CreationalContext<?> creationalContext)
getSessionBeanProxy in interface org.apache.webbeans.spi.plugins.OpenWebBeansEjbPluginpublic boolean isSessionBean(Class<?> clazz)
isSessionBean in interface org.apache.webbeans.spi.plugins.OpenWebBeansEjbPluginpublic boolean isNewSessionBean(Class<?> clazz)
isNewSessionBean in interface org.apache.webbeans.spi.plugins.OpenWebBeansEjbPluginpublic <T> javax.enterprise.inject.spi.Bean<T> defineSessionBean(Class<T> clazz, javax.enterprise.inject.spi.ProcessAnnotatedType<T> processAnnotateTypeEvent)
defineSessionBean in interface org.apache.webbeans.spi.plugins.OpenWebBeansEjbPluginpublic <T> javax.enterprise.inject.spi.Bean<T> defineNewSessionBean(Class<T> clazz)
defineNewSessionBean in interface org.apache.webbeans.spi.plugins.OpenWebBeansEjbPluginpublic boolean isSingletonBean(Class<?> clazz)
isSingletonBean in interface org.apache.webbeans.spi.plugins.OpenWebBeansEjbPluginpublic boolean isStatefulBean(Class<?> clazz)
isStatefulBean in interface org.apache.webbeans.spi.plugins.OpenWebBeansEjbPluginpublic boolean isStatelessBean(Class<?> clazz)
isStatelessBean in interface org.apache.webbeans.spi.plugins.OpenWebBeansEjbPluginpublic static Method doResolveViewMethod(javax.enterprise.inject.spi.Bean<?> component, Method declaredMethod)
public Method resolveViewMethod(javax.enterprise.inject.spi.Bean<?> component, Method declaredMethod)
resolveViewMethod in interface org.apache.webbeans.spi.plugins.OpenWebBeansEjbPluginpublic void clearProxies()
Copyright © 1999–2014 The Apache Software Foundation. All rights reserved.