org.ow2.jonas.workmanager.internal
Class JOnASWorkManagerService
java.lang.Object
javax.management.NotificationBroadcasterSupport
org.ow2.jonas.lib.reconfig.ReconfigEmitter
org.ow2.jonas.lib.service.AbsServiceImpl
org.ow2.jonas.workmanager.internal.JOnASWorkManagerService
- All Implemented Interfaces:
- NotificationBroadcaster, NotificationEmitter, Service, WorkManagerService
public class JOnASWorkManagerService
- extends AbsServiceImpl
- implements WorkManagerService
The JOnAS WorkManager is returned by this service.
- Author:
- Guillaume Sauthier
| Methods inherited from class org.ow2.jonas.lib.service.AbsServiceImpl |
convertToList, doInit, getDomainName, getJonasServerName, getName, getServerProperties, init, isStarted, setName, setServerProperties, start, stop, throwRequirementException, toString |
JOnASWorkManagerService
public JOnASWorkManagerService()
setThreadwaittimeout
public void setThreadwaittimeout(long waitingTime)
- Parameters:
waitingTime - Thread wait timeout.
setMinworkthreads
public void setMinworkthreads(int minPoolSize)
- Parameters:
minPoolSize - Minimum pool size.
setMaxworkthreads
public void setMaxworkthreads(int maxPoolSize)
- Parameters:
maxPoolSize - Maximum pool size.
doStart
protected void doStart()
throws ServiceException
- Start a new
WorkManager.
- Specified by:
doStart in class AbsServiceImpl
- Throws:
ServiceException
doStop
protected void doStop()
throws ServiceException
- Stop the
WorkManager.
- Specified by:
doStop in class AbsServiceImpl
- Throws:
ServiceException
getWorkManager
public WorkManager getWorkManager()
-
- Specified by:
getWorkManager in interface WorkManagerService
setJmxService
public void setJmxService(JmxService jmxService)
- Parameters:
jmxService - the jmxService to set
setTransactionService
public void setTransactionService(TransactionService transactionService)
- Parameters:
transactionService - the transactionService to set
Copyright © 2009 OW2 Consortium. All Rights Reserved.