|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A service that implements this interface provides an Tx aware EJBTimerService.
Field Summary | |
static javax.management.ObjectName |
OBJECT_NAME
default object name |
Method Summary | |
javax.ejb.TimerService |
createTimerService(javax.management.ObjectName containerId,
Object pKey,
Container container)
Create a TimerService for a given TimedObjectId that lives in a JBoss Container. |
javax.ejb.TimerService |
createTimerService(javax.management.ObjectName containerId,
Object pKey,
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 pKey)
Get the TimerService for a given TimedObjectId |
void |
removeTimerService(javax.management.ObjectName containerId,
Object pKey)
Remove the TimerService for a given TimedObjectId |
void |
retryTimeout(javax.management.ObjectName containerId,
Object pKey,
javax.ejb.Timer timer)
Invokes the ejbTimeout method a given TimedObjectId |
Field Detail |
public static final javax.management.ObjectName OBJECT_NAME
Method Detail |
public javax.ejb.TimerService createTimerService(javax.management.ObjectName containerId, Object pKey, Container container) throws IllegalStateException
containerId
- The string identifier for a class of TimedObjectspKey
- 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 pKey, TimedObjectInvoker invoker) throws IllegalStateException
containerId
- The string identifier for a class of TimedObjectspKey
- 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 pKey) throws IllegalStateException
containerId
- The string identifier for a class of TimedObjectspKey
- The rimary key for an instance of a TimedObject, may be null
IllegalStateException
public void retryTimeout(javax.management.ObjectName containerId, Object pKey, javax.ejb.Timer timer)
containerId
- The string identifier for a class of TimedObjectspKey
- 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 pKey) throws IllegalStateException
containerId
- The string identifier for a class of TimedObjectspKey
- 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 |