|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.ejb.txtimer.EJBTimerServiceLocator.MBeanDelegate
public static class EJBTimerServiceLocator.MBeanDelegate
Delegates method calls to the EJBTimerService to the MBean server
Field Summary |
---|
Fields inherited from interface org.jboss.ejb.txtimer.EJBTimerService |
---|
OBJECT_NAME |
Constructor Summary | |
---|---|
EJBTimerServiceLocator.MBeanDelegate(javax.management.MBeanServer server)
|
Method Summary | |
---|---|
javax.ejb.TimerService |
createTimerService(javax.management.ObjectName containerId,
Object instancePk,
Container container)
Create a TimerService for a given containerId/pKey (TimedObjectId) that lives in a JBoss Container. |
javax.ejb.TimerService |
createTimerService(javax.management.ObjectName containerId,
Object instancePk,
TimedObjectInvoker invoker)
Create a TimerService for a given containerId/pKey (TimedObjectId) that is invoked through the given invoker. |
javax.ejb.TimerService |
getTimerService(javax.management.ObjectName containerId,
Object instancePk)
Get the TimerService for a given containerId/pKey (TimedObjectId). |
void |
removeTimerService(javax.management.ObjectName containerId,
boolean keepState)
Remove the TimerService for a given containerId. |
void |
removeTimerService(javax.management.ObjectName containerId,
Object instancePk)
Remove the TimerService for a given containerId/pKey (TimedObjectId), along with any persisted timer information. |
void |
restoreTimers(javax.management.ObjectName containerId,
ClassLoader loader)
Restore the persisted timers for a given ejb container |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EJBTimerServiceLocator.MBeanDelegate(javax.management.MBeanServer server)
Method Detail |
---|
public javax.ejb.TimerService createTimerService(javax.management.ObjectName containerId, Object instancePk, Container container) throws IllegalStateException
EJBTimerService
createTimerService
in interface EJBTimerService
containerId
- The string identifier for a class of TimedObjectsinstancePk
- The primary key for an instance of a TimedObject, may be nullcontainer
- The Container that is associated with the TimerService
IllegalStateException
public javax.ejb.TimerService createTimerService(javax.management.ObjectName containerId, Object instancePk, TimedObjectInvoker invoker) throws IllegalStateException
EJBTimerService
createTimerService
in interface EJBTimerService
containerId
- The string identifier for a class of TimedObjectsinstancePk
- The primary key for an instance of a TimedObject, may be nullinvoker
- The TimedObjectInvoker
IllegalStateException
public javax.ejb.TimerService getTimerService(javax.management.ObjectName containerId, Object instancePk) throws IllegalStateException
EJBTimerService
getTimerService
in interface EJBTimerService
containerId
- The string identifier for a class of TimedObjectsinstancePk
- The primary key for an instance of a TimedObject, may be null
IllegalStateException
public void removeTimerService(javax.management.ObjectName containerId, Object instancePk) throws IllegalStateException
EJBTimerService
removeTimerService
in interface EJBTimerService
containerId
- The string identifier for a class of TimedObjectsinstancePk
- The primary key for an instance of a TimedObject, may be null
IllegalStateException
public void removeTimerService(javax.management.ObjectName containerId, boolean keepState) throws IllegalStateException
EJBTimerService
removeTimerService
in interface EJBTimerService
containerId
- The string identifier for a class of TimedObjectskeepState
- Flag indicating whether timer persistent state should be kept or removed
IllegalStateException
public void restoreTimers(javax.management.ObjectName containerId, ClassLoader loader) throws IllegalStateException
EJBTimerService
restoreTimers
in interface EJBTimerService
containerId
- The ejb container idloader
- The classloader to use for loading the timers
IllegalStateException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |