org.ow2.jonas.ejb.easybeans
Class EasyBeansService
java.lang.Object
javax.management.NotificationBroadcasterSupport
org.objectweb.jonas.management.reconfig.emitter.ReconfigEmitter
org.objectweb.jonas.service.AbsServiceImpl
org.ow2.jonas.ejb.easybeans.EasyBeansService
- All Implemented Interfaces:
- NotificationBroadcaster, NotificationEmitter, Service
public class EasyBeansService
- extends AbsServiceImpl
Implementation of the service that runs the EasyBeans EJB3 container.
- Author:
- Florent Benoit
Method Summary |
protected void |
doInit(Context ctx)
Abstract initialization method to be implemented by sub-classes. |
protected void |
doStart()
Abstract start-up method to be implemented by sub-classes. |
protected void |
doStop()
Abstract method for service stopping to be implemented by sub-classes. |
org.ow2.easybeans.api.EZBServer |
getEasyBeansServer()
TODO: Remove it when EarDeployer will use EasyBeans Deployer. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EASYBEANS_CONFIG_FILE
public static final String EASYBEANS_CONFIG_FILE
- Name of the configuration file of EasyBeans for JOnAS.
- See Also:
- Constant Field Values
EasyBeansService
public EasyBeansService()
doInit
protected void doInit(Context ctx)
throws ServiceException
- Abstract initialization method to be implemented by sub-classes.
- Specified by:
doInit
in class AbsServiceImpl
- Parameters:
ctx
- configuration of the service
- Throws:
ServiceException
- service initialization failed
doStart
protected void doStart()
throws ServiceException
- Abstract start-up method to be implemented by sub-classes.
- Specified by:
doStart
in class AbsServiceImpl
- Throws:
ServiceException
- service start-up failed
doStop
protected void doStop()
throws ServiceException
- Abstract method for service stopping to be implemented by sub-classes.
- Specified by:
doStop
in class AbsServiceImpl
- Throws:
ServiceException
- service stopping failed
getEasyBeansServer
public org.ow2.easybeans.api.EZBServer getEasyBeansServer()
- TODO: Remove it when EarDeployer will use EasyBeans Deployer.
- Returns:
- the Embedded instance used by this service.
Copyright © 2007 OW2 Consortium. All Rights Reserved.