org.apache.geronimo.openejb
Class EjbDeploymentGBean

java.lang.Object
  extended by org.apache.geronimo.openejb.EjbDeployment
      extended by org.apache.geronimo.openejb.EjbDeploymentGBean
All Implemented Interfaces:
GBeanLifecycle, EJB, J2EEManagedObject

public class EjbDeploymentGBean
extends EjbDeployment
implements GBeanLifecycle


Constructor Summary
EjbDeploymentGBean(String objectName, String deploymentId, String ejbName, String homeInterfaceName, String remoteInterfaceName, String localHomeInterfaceName, String localInterfaceName, String serviceEndpointInterfaceName, String beanClassName, ClassLoader classLoader, boolean securityEnabled, String defaultRole, String runAsRole, RunAsSource runAsSource, Map componentContext, Set unshareableResources, Set applicationManagedSecurityResources, org.apache.geronimo.connector.outbound.connectiontracking.TrackedConnectionAssociator trackedConnectionAssociator, org.apache.geronimo.transaction.manager.GeronimoTransactionManager transactionManager, OpenEjbSystem openEjbSystem, Kernel kernel)
           
 
Method Summary
 void doFail()
          Fails the GBean.
 void doStart()
          Starts the GBean.
 void doStop()
          Stops the target.
 
Methods inherited from class org.apache.geronimo.openejb.EjbDeployment
getApplicationManagedSecurityResources, getBeanClass, getBeanClassName, getBusinessLocalHome, getBusinessLocalInterface, getBusinessRemoteHome, getBusinessRemoteInterface, getClassLoader, getComponentContext, getComponentType, getContainer, getDefaultSubject, getDeploymentId, getDeploymentInfo, getEJBHome, getEJBLocalHome, getEjbName, getEjbObject, getHomeInterface, getHomeInterfaceName, getLocalHomeInterface, getLocalHomeInterfaceName, getLocalInterface, getLocalInterfaceName, getMdbInterface, getObjectName, getRemoteInterface, getRemoteInterfaceName, getRunAs, getServiceEndpointInterface, getServiceEndpointInterfaceName, getTrackedConnectionAssociator, getTransactionAttribute, getUnshareableResources, isBeanManagedTransaction, isEventProvider, isSecurityEnabled, isStateManageable, isStatisticsProvider, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EjbDeploymentGBean

public EjbDeploymentGBean(String objectName,
                          String deploymentId,
                          String ejbName,
                          String homeInterfaceName,
                          String remoteInterfaceName,
                          String localHomeInterfaceName,
                          String localInterfaceName,
                          String serviceEndpointInterfaceName,
                          String beanClassName,
                          ClassLoader classLoader,
                          boolean securityEnabled,
                          String defaultRole,
                          String runAsRole,
                          RunAsSource runAsSource,
                          Map componentContext,
                          Set unshareableResources,
                          Set applicationManagedSecurityResources,
                          org.apache.geronimo.connector.outbound.connectiontracking.TrackedConnectionAssociator trackedConnectionAssociator,
                          org.apache.geronimo.transaction.manager.GeronimoTransactionManager transactionManager,
                          OpenEjbSystem openEjbSystem,
                          Kernel kernel)
                   throws Exception
Throws:
Exception
Method Detail

doStart

public void doStart()
             throws Exception
Description copied from interface: GBeanLifecycle
Starts the GBean. This informs the GBean that it is about to transition to the running state.

Specified by:
doStart in interface GBeanLifecycle
Throws:
Exception - if the target failed to start; this will cause a transition to the failed state

doStop

public void doStop()
            throws Exception
Description copied from interface: GBeanLifecycle
Stops the target. This informs the GBean that it is about to transition to the stopped state.

Specified by:
doStop in interface GBeanLifecycle
Throws:
Exception - if the target failed to stop; this will cause a transition to the failed state

doFail

public void doFail()
Description copied from interface: GBeanLifecycle
Fails the GBean. This informs the GBean that it is about to transition to the failed state.

Specified by:
doFail in interface GBeanLifecycle


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.