public interface EJBPersistentTimerServiceMXBean
Modifier and Type | Method and Description |
---|---|
boolean |
cancelTimer(java.lang.String id)
Cancels a persistent EJB timer.
|
boolean |
cancelTimers(java.lang.String appName)
Cancels all persistent timers for all EJBs in all modules in an
application.
|
boolean |
cancelTimers(java.lang.String appName,
java.lang.String moduleURI)
Cancels all persistent timers for all EJBs in a modules.
|
boolean |
cancelTimers(java.lang.String appName,
java.lang.String moduleURI,
java.lang.String ejbName)
Cancels all persistent timers for an EJB.
|
boolean |
containsAutomaticTimers(java.lang.String appName)
Returns true if timers have been automatically created for any module in
an application.
|
boolean |
containsAutomaticTimers(java.lang.String appName,
java.lang.String moduleURI)
Returns true if timers have been automatically created for a module.
|
EJBPersistentTimerInfo[] |
getTimers(java.lang.String appName)
Returns all persistent timers for all EJBs in all modules in an
application.
|
EJBPersistentTimerInfo[] |
getTimers(java.lang.String appName,
java.lang.String moduleURI)
Returns all persistent timers for all EJBs in a module.
|
EJBPersistentTimerInfo[] |
getTimers(java.lang.String appName,
java.lang.String moduleURI,
java.lang.String ejbName)
Returns all persistent timers for an EJB.
|
boolean |
removeAutomaticTimers(java.lang.String appName)
Cancels all persistent timers for all EJBs in all modules in an
application, and removes the persistent indicator that timers were
automatically created.
|
boolean |
removeAutomaticTimers(java.lang.String appName,
java.lang.String moduleURI)
Cancels all persistent timers for all EJBs in a module, and removes the
persistent indicator that timers were automatically created.
|
EJBPersistentTimerInfo[] getTimers(java.lang.String appName)
appName
- the application nameEJBPersistentTimerInfo[] getTimers(java.lang.String appName, java.lang.String moduleURI)
appName
- the application namemoduleURI
- the module URIEJBPersistentTimerInfo[] getTimers(java.lang.String appName, java.lang.String moduleURI, java.lang.String ejbName)
appName
- the application namemoduleURI
- the module URIejbName
- the EJB nameboolean cancelTimer(java.lang.String id)
Canceling an automatic timer will not cause it to be recreated when
the application is deployed unless the persistent indicator is also
removed using one of the removeAutomaticTimers(java.lang.String)
methods.
id
- the ID as returned by EJBPersistentTimerInfo.getId()
boolean cancelTimers(java.lang.String appName)
Canceling an automatic timer will not cause it to be recreated when
the application is deployed unless the persistent indicator is also
removed using one of the removeAutomaticTimers(java.lang.String)
methods.
appName
- the application nameboolean cancelTimers(java.lang.String appName, java.lang.String moduleURI)
Canceling an automatic timer will not cause it to be recreated when
the application is deployed unless the persistent indicator is also
removed using one of the removeAutomaticTimers(java.lang.String)
methods.
appName
- the application namemoduleURI
- the module URIboolean cancelTimers(java.lang.String appName, java.lang.String moduleURI, java.lang.String ejbName)
appName
- the application namemoduleURI
- the module URIejbName
- the EJB nameboolean containsAutomaticTimers(java.lang.String appName)
appName
- the application nameboolean containsAutomaticTimers(java.lang.String appName, java.lang.String moduleURI)
appName
- the application namemoduleURI
- the module URIboolean removeAutomaticTimers(java.lang.String appName)
appName
- the application nameboolean removeAutomaticTimers(java.lang.String appName, java.lang.String moduleURI)
appName
- the application namemoduleURI
- the module URI