|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.ejb.txtimer.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 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 TimedObjectId that is invoked through the given invoker |
javax.ejb.TimerService |
getTimerService(javax.management.ObjectName containerId,
Object instancePk)
Get the TimerService for a given TimedObjectId |
void |
removeTimerService(javax.management.ObjectName containerId,
Object instancePk)
Remove the TimerService for a given TimedObjectId |
void |
retryTimeout(javax.management.ObjectName containerId,
Object instancePk,
javax.ejb.Timer timer)
Invokes the ejbTimeout method a given TimedObjectId |
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 rimary 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 rimary 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 rimary key for an instance of a TimedObject, may be null
IllegalStateException
public void retryTimeout(javax.management.ObjectName containerId, Object instancePk, javax.ejb.Timer timer)
EJBTimerService
retryTimeout
in interface EJBTimerService
containerId
- The string identifier for a class of TimedObjectsinstancePk
- The rimary key for an instance of a TimedObject, may be nulltimer
- the Timer that is passed to ejbTimeoutpublic 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 rimary key for an instance of a TimedObject, may be null
IllegalStateException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |