|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EJBTimerService
A service that implements this interface provides a Tx aware EJBTimerService.
| Field Summary | |
|---|---|
static javax.management.ObjectName |
OBJECT_NAME
The default object name |
| Method Summary | |
|---|---|
javax.ejb.TimerService |
createTimerService(javax.management.ObjectName containerId,
Object pKey,
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 pKey,
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 pKey)
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 pKey)
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 |
| Field Detail |
|---|
static final javax.management.ObjectName OBJECT_NAME
| Method Detail |
|---|
javax.ejb.TimerService createTimerService(javax.management.ObjectName containerId,
Object pKey,
Container container)
throws IllegalStateException
containerId - The string identifier for a class of TimedObjectspKey - The primary key for an instance of a TimedObject, may be nullcontainer - The Container that is associated with the TimerService
IllegalStateException
javax.ejb.TimerService createTimerService(javax.management.ObjectName containerId,
Object pKey,
TimedObjectInvoker invoker)
throws IllegalStateException
containerId - The string identifier for a class of TimedObjectspKey - The primary key for an instance of a TimedObject, may be nullinvoker - The TimedObjectInvoker
IllegalStateException
javax.ejb.TimerService getTimerService(javax.management.ObjectName containerId,
Object pKey)
throws IllegalStateException
containerId - The string identifier for a class of TimedObjectspKey - The primary key for an instance of a TimedObject, may be null
IllegalStateException
void removeTimerService(javax.management.ObjectName containerId,
Object pKey)
throws IllegalStateException
containerId - The string identifier for a class of TimedObjectspKey - The primary key for an instance of a TimedObject, may be null
IllegalStateException
void removeTimerService(javax.management.ObjectName containerId,
boolean keepState)
throws IllegalStateException
containerId - The string identifier for a class of TimedObjectskeepState - Flag indicating whether timer persistent state should be kept or removed
IllegalStateException
void restoreTimers(javax.management.ObjectName containerId,
ClassLoader loader)
throws IllegalStateException
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 | |||||||||