org.apache.openejb.cdi
Class CdiPlugin
java.lang.Object
org.apache.webbeans.spi.plugins.AbstractOwbPlugin
org.apache.openejb.cdi.CdiPlugin
- All Implemented Interfaces:
- org.apache.webbeans.spi.plugins.OpenWebBeansEjbPlugin, org.apache.webbeans.spi.plugins.OpenWebBeansJavaEEPlugin, org.apache.webbeans.spi.plugins.OpenWebBeansPlugin
public class CdiPlugin
- extends org.apache.webbeans.spi.plugins.AbstractOwbPlugin
- implements org.apache.webbeans.spi.plugins.OpenWebBeansJavaEEPlugin, org.apache.webbeans.spi.plugins.OpenWebBeansEjbPlugin
| Methods inherited from class org.apache.webbeans.spi.plugins.AbstractOwbPlugin |
startUp, supportsJavaEeComponentInjections |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.webbeans.spi.plugins.OpenWebBeansPlugin |
startUp, supportsJavaEeComponentInjections |
CdiPlugin
public CdiPlugin()
shutDown
public void shutDown()
- Specified by:
shutDown in interface org.apache.webbeans.spi.plugins.OpenWebBeansPlugin- Overrides:
shutDown in class org.apache.webbeans.spi.plugins.AbstractOwbPlugin
setAppContext
public void setAppContext(AppContext appContext)
configureDeployments
public void configureDeployments(List<BeanContext> ejbDeployments)
getContexsServices
public CdiAppContextsService getContexsServices()
startup
public void startup()
stop
public void stop()
throws OpenEJBException
- Throws:
OpenEJBException
getSupportedService
public <T> T getSupportedService(Class<T> serviceClass)
- Specified by:
getSupportedService in interface org.apache.webbeans.spi.plugins.OpenWebBeansPlugin- Overrides:
getSupportedService in class org.apache.webbeans.spi.plugins.AbstractOwbPlugin
isManagedBean
public void isManagedBean(Class<?> clazz)
- Specified by:
isManagedBean in interface org.apache.webbeans.spi.plugins.OpenWebBeansPlugin- Overrides:
isManagedBean in class org.apache.webbeans.spi.plugins.AbstractOwbPlugin
supportService
public boolean supportService(Class<?> serviceClass)
- Specified by:
supportService in interface org.apache.webbeans.spi.plugins.OpenWebBeansPlugin- Overrides:
supportService in class org.apache.webbeans.spi.plugins.AbstractOwbPlugin
getSessionBeanProxy
public Object getSessionBeanProxy(javax.enterprise.inject.spi.Bean<?> bean,
Class<?> interfce,
javax.enterprise.context.spi.CreationalContext<?> creationalContext)
- Specified by:
getSessionBeanProxy in interface org.apache.webbeans.spi.plugins.OpenWebBeansEjbPlugin
isSessionBean
public boolean isSessionBean(Class<?> clazz)
- Specified by:
isSessionBean in interface org.apache.webbeans.spi.plugins.OpenWebBeansEjbPlugin
defineSessionBean
public <T> javax.enterprise.inject.spi.Bean<T> defineSessionBean(Class<T> clazz,
javax.enterprise.inject.spi.ProcessAnnotatedType<T> processAnnotateTypeEvent)
- Specified by:
defineSessionBean in interface org.apache.webbeans.spi.plugins.OpenWebBeansEjbPlugin
isSingletonBean
public boolean isSingletonBean(Class<?> clazz)
- Specified by:
isSingletonBean in interface org.apache.webbeans.spi.plugins.OpenWebBeansEjbPlugin
isStatefulBean
public boolean isStatefulBean(Class<?> clazz)
- Specified by:
isStatefulBean in interface org.apache.webbeans.spi.plugins.OpenWebBeansEjbPlugin
isStatelessBean
public boolean isStatelessBean(Class<?> clazz)
- Specified by:
isStatelessBean in interface org.apache.webbeans.spi.plugins.OpenWebBeansEjbPlugin
resolveViewMethod
public Method resolveViewMethod(javax.enterprise.inject.spi.Bean<?> component,
Method declaredMethod)
- Specified by:
resolveViewMethod in interface org.apache.webbeans.spi.plugins.OpenWebBeansEjbPlugin
resolveBeanMethod
public Method resolveBeanMethod(javax.enterprise.inject.spi.Bean<?> component,
Method declaredMethod)
Copyright © 1999-2012 The Apache Software Foundation. All Rights Reserved.