|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.management.NotificationBroadcasterSupport
org.objectweb.jonas.management.reconfig.emitter.ReconfigEmitter
org.objectweb.jonas.service.AbsServiceImpl
org.objectweb.jonas.workmanager.internal.JOnASWorkManagerService
public class JOnASWorkManagerService
The JOnAS WorkManager
is returned by this service.
Field Summary | |
---|---|
static String |
MAX_WORK_THREADS
Max Work Thread property name |
static String |
MIN_WORK_THREADS
Min Work Thread property name |
static String |
THREAD_WAIT_TIMEOUT
Thread Wait Timeout property name |
Fields inherited from class org.objectweb.jonas.management.reconfig.emitter.ReconfigEmitter |
---|
RECONFIG_TYPE, SAVE_RECONFIG_TYPE |
Constructor Summary | |
---|---|
JOnASWorkManagerService()
|
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 |
WorkManager |
getWorkManager()
|
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 javax.management.NotificationBroadcasterSupport |
---|
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.objectweb.jonas.service.Service |
---|
getName, init, isStarted, setName, start, stop |
Field Detail |
---|
public static final String MIN_WORK_THREADS
public static final String MAX_WORK_THREADS
public static final String THREAD_WAIT_TIMEOUT
Constructor Detail |
---|
public JOnASWorkManagerService()
Method Detail |
---|
protected void doInit(Context ctx) throws ServiceException
AbsServiceImpl
doInit
in class AbsServiceImpl
ctx
- configuration of the service
ServiceException
- service initialization failedprotected void doStart() throws ServiceException
AbsServiceImpl
doStart
in class AbsServiceImpl
ServiceException
- service start-up failedprotected void doStop() throws ServiceException
AbsServiceImpl
doStop
in class AbsServiceImpl
ServiceException
- service stopping failedpublic WorkManager getWorkManager()
getWorkManager
in interface WorkManagerService
WorkManager
implementation.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |