org.apache.geronimo.openejb
Class EjbModuleImplGBean

java.lang.Object
  extended by org.apache.geronimo.openejb.EjbModuleImpl
      extended by org.apache.geronimo.openejb.EjbModuleImplGBean
All Implemented Interfaces:
GBeanLifecycle, EJBModule, J2EEDeployedObject, J2EEManagedObject, J2EEModule

public final class EjbModuleImplGBean
extends EjbModuleImpl
implements GBeanLifecycle


Field Summary
static GBeanInfo GBEAN_INFO
           
 
Constructor Summary
EjbModuleImplGBean(String objectName, J2EEServer server, J2EEApplication application, String deploymentDescriptor, Collection<? extends EJB> ejbs, ClassLoader classLoader, OpenEjbSystem openEjbSystem, org.apache.openejb.assembler.classic.EjbJarInfo ejbJarInfo)
           
 
Method Summary
 void doFail()
          Fails the GBean.
 void doStart()
          Starts the GBean.
 void doStop()
          Stops the target.
static GBeanInfo getGBeanInfo()
           
 
Methods inherited from class org.apache.geronimo.openejb.EjbModuleImpl
getApplication, getDeploymentDescriptor, getEjbs, getJavaVMs, getObjectName, getServer, isEventProvider, isStateManageable, isStatisticsProvider, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GBEAN_INFO

public static final GBeanInfo GBEAN_INFO
Constructor Detail

EjbModuleImplGBean

public EjbModuleImplGBean(String objectName,
                          J2EEServer server,
                          J2EEApplication application,
                          String deploymentDescriptor,
                          Collection<? extends EJB> ejbs,
                          ClassLoader classLoader,
                          OpenEjbSystem openEjbSystem,
                          org.apache.openejb.assembler.classic.EjbJarInfo ejbJarInfo)
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

getGBeanInfo

public static GBeanInfo getGBeanInfo()


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