|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.webbeans.spi.plugins.AbstractOwbPlugin
org.apache.webbeans.ejb.EjbPlugin
public class EjbPlugin
EJB related stuff.
EJB functionality depends on OpenEJB.
| Constructor Summary | |
|---|---|
EjbPlugin()
|
|
| Method Summary | ||
|---|---|---|
void |
afterApplicationCreated(org.apache.openejb.assembler.classic.AppInfo appInfo)
OpenEJB call back method It is used to get the list of deployed application and store the Stateless and Stateful pools localy. |
|
void |
beforeApplicationDestroyed(org.apache.openejb.assembler.classic.AppInfo appInfo)
OpenEJB callback method Not used. |
|
org.apache.openejb.assembler.classic.JndiBuilder.JndiNameStrategy |
createStrategy(org.apache.openejb.assembler.classic.AppInfo appInfo,
List<org.apache.openejb.DeploymentInfo> deployments,
org.apache.openejb.DeploymentInfo deployment)
Creates strategy for jndi naming. |
|
|
defineSessionBean(Class<T> clazz,
ProcessAnnotatedType<T> processAnnotatedTypeEvent)
|
|
Map<String,EJBInstanceProxy<?>> |
getEjbBindings(org.apache.openejb.core.CoreDeploymentInfo deployment)
Gets map of intfc --> ejb proxy |
|
|
getEjbInstance(String intfName,
Class<T> intf)
|
|
Object |
getSessionBeanProxy(Bean<?> bean,
Class<?> iface,
CreationalContext<?> creationalContext)
|
|
|
getSupportedService(Class<T> serviceClass)
|
|
void |
isManagedBean(Class<?> clazz)
|
|
boolean |
isSessionBean(Class<?> clazz)
|
|
boolean |
isSingletonBean(Class<?> clazz)
|
|
boolean |
isStatefulBean(Class<?> clazz)
|
|
boolean |
isStatelessBean(Class<?> clazz)
|
|
void |
setUseInTest(boolean useInTest)
|
|
void |
shutDown()
|
|
void |
startUp()
|
|
boolean |
supportService(Class<?> serviceClass)
|
|
| Methods inherited from class org.apache.webbeans.spi.plugins.AbstractOwbPlugin |
|---|
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 |
|---|
supportsJavaEeComponentInjections |
| Constructor Detail |
|---|
public EjbPlugin()
| Method Detail |
|---|
public void shutDown()
throws WebBeansConfigurationException
shutDown in interface OpenWebBeansPluginshutDown in class AbstractOwbPluginWebBeansConfigurationException
public <T> T getEjbInstance(String intfName,
Class<T> intf)
throws Exception
Exception
public void startUp()
throws WebBeansConfigurationException
startUp in interface OpenWebBeansPluginstartUp in class AbstractOwbPluginWebBeansConfigurationExceptionpublic void setUseInTest(boolean useInTest)
public void afterApplicationCreated(org.apache.openejb.assembler.classic.AppInfo appInfo)
afterApplicationCreated in interface org.apache.openejb.assembler.classic.DeploymentListenerappInfo - applications informationspublic void beforeApplicationDestroyed(org.apache.openejb.assembler.classic.AppInfo appInfo)
beforeApplicationDestroyed in interface org.apache.openejb.assembler.classic.DeploymentListener
public <T> Bean<T> defineSessionBean(Class<T> clazz,
ProcessAnnotatedType<T> processAnnotatedTypeEvent)
defineSessionBean in interface OpenWebBeansEjbPluginpublic boolean isSessionBean(Class<?> clazz)
isSessionBean in interface OpenWebBeansEjbPlugin
public void isManagedBean(Class<?> clazz)
throws WebBeansConfigurationException
isManagedBean in interface OpenWebBeansPluginisManagedBean in class AbstractOwbPluginWebBeansConfigurationExceptionpublic boolean isSingletonBean(Class<?> clazz)
isSingletonBean in interface OpenWebBeansEjbPluginpublic boolean isStatefulBean(Class<?> clazz)
isStatefulBean in interface OpenWebBeansEjbPluginpublic boolean isStatelessBean(Class<?> clazz)
isStatelessBean in interface OpenWebBeansEjbPlugin
public Object getSessionBeanProxy(Bean<?> bean,
Class<?> iface,
CreationalContext<?> creationalContext)
getSessionBeanProxy in interface OpenWebBeansEjbPluginpublic <T> T getSupportedService(Class<T> serviceClass)
getSupportedService in interface OpenWebBeansPlugingetSupportedService in class AbstractOwbPluginpublic boolean supportService(Class<?> serviceClass)
supportService in interface OpenWebBeansPluginsupportService in class AbstractOwbPlugin
public org.apache.openejb.assembler.classic.JndiBuilder.JndiNameStrategy createStrategy(org.apache.openejb.assembler.classic.AppInfo appInfo,
List<org.apache.openejb.DeploymentInfo> deployments,
org.apache.openejb.DeploymentInfo deployment)
throws org.apache.openejb.OpenEJBException
appInfo - app infodeployments - deploymentsdeployment - deployment
org.apache.openejb.OpenEJBException - if any exceptionpublic Map<String,EJBInstanceProxy<?>> getEjbBindings(org.apache.openejb.core.CoreDeploymentInfo deployment)
deployment - deployment info
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||