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, org.objectweb.jonas.service.Service
public class EasyBeansService
- extends org.objectweb.jonas.service.AbsServiceImpl
Implementation of the service that runs the EasyBeans EJB3 container.
- Author:
- Florent Benoit
| Fields inherited from class org.objectweb.jonas.management.reconfig.emitter.ReconfigEmitter |
RECONFIG_TYPE, SAVE_RECONFIG_TYPE |
|
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 org.objectweb.jonas.service.AbsServiceImpl |
getDomainName, getJonasServerName, getName, init, isStarted, setName, start, stop |
| Methods inherited from class org.objectweb.jonas.management.reconfig.emitter.ReconfigEmitter |
initLogger, sendReconfigNotification, sendSaveNotification |
| 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 org.objectweb.jonas.service.ServiceException
- Abstract initialization method to be implemented by sub-classes.
- Specified by:
doInit in class org.objectweb.jonas.service.AbsServiceImpl
- Parameters:
ctx - configuration of the service
- Throws:
org.objectweb.jonas.service.ServiceException - service initialization failed
doStart
protected void doStart()
throws org.objectweb.jonas.service.ServiceException
- Abstract start-up method to be implemented by sub-classes.
- Specified by:
doStart in class org.objectweb.jonas.service.AbsServiceImpl
- Throws:
org.objectweb.jonas.service.ServiceException - service start-up failed
doStop
protected void doStop()
throws org.objectweb.jonas.service.ServiceException
- Abstract method for service stopping to be implemented by sub-classes.
- Specified by:
doStop in class org.objectweb.jonas.service.AbsServiceImpl
- Throws:
org.objectweb.jonas.service.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.