|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.ejb.txtimer.EJBTimerServiceImpl
A service that implements this interface provides an Tx aware EJBTimerService.
| Field Summary |
| Fields inherited from class org.jboss.system.ServiceMBeanSupport |
server, SERVICE_CONTROLLER_SIG, serviceName |
| Fields inherited from interface org.jboss.ejb.txtimer.EJBTimerServiceImplMBean |
OBJECT_NAME |
| Fields inherited from interface org.jboss.system.ServiceMBean |
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
| Constructor Summary | |
EJBTimerServiceImpl()
|
|
| 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.management.ObjectName |
getPersistencePolicy()
Get the object name of the persistence policy. |
javax.management.ObjectName |
getRetryPolicy()
Get the object name of the retry policy. |
String |
getTimedObjectInvokerClassName()
Get the TimedObjectInvoker class name |
String |
getTimerIdGeneratorClassName()
Get the TimerIdGenerator class name |
javax.ejb.TimerService |
getTimerService(javax.management.ObjectName containerId,
Object instancePk)
Get the TimerService for a given TimedObjectId |
String |
listTimers()
List the timers registered with all TimerService objects |
void |
removeTimerService(javax.management.ObjectName containerId,
Object instancePk)
Remove the TimerService for a given TimedObjectId If the instance pk is left to null, it removes all timer services for the container id |
void |
retryTimeout(javax.management.ObjectName containerId,
Object instancePk,
javax.ejb.Timer timer)
Invokes the ejbTimeout method a given TimedObjectId |
void |
setPersistencePolicy(javax.management.ObjectName persistencePolicyName)
Set the object name of the persistence policy. |
void |
setRetryPolicy(javax.management.ObjectName retryPolicyName)
Set the object name of the retry policy. |
void |
setTimedObjectInvokerClassName(String timedObjectInvokerClassName)
Set the TimedObjectInvoker class name |
void |
setTimerIdGeneratorClassName(String timerIdGeneratorClassName)
Get the TimerIdGenerator class name |
| Methods inherited from class org.jboss.system.ServiceMBeanSupport |
create, createService, destroy, destroyService, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, startService, stop, stopService |
| Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport |
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public EJBTimerServiceImpl()
| Method Detail |
public javax.management.ObjectName getRetryPolicy()
getRetryPolicy in interface EJBTimerServiceImplMBeanpublic void setRetryPolicy(javax.management.ObjectName retryPolicyName)
setRetryPolicy in interface EJBTimerServiceImplMBeanpublic javax.management.ObjectName getPersistencePolicy()
getPersistencePolicy in interface EJBTimerServiceImplMBeanpublic void setPersistencePolicy(javax.management.ObjectName persistencePolicyName)
setPersistencePolicy in interface EJBTimerServiceImplMBeanpublic String getTimerIdGeneratorClassName()
getTimerIdGeneratorClassName in interface EJBTimerServiceImplMBeanpublic void setTimerIdGeneratorClassName(String timerIdGeneratorClassName)
setTimerIdGeneratorClassName in interface EJBTimerServiceImplMBeanpublic String getTimedObjectInvokerClassName()
getTimedObjectInvokerClassName in interface EJBTimerServiceImplMBeanpublic void setTimedObjectInvokerClassName(String timedObjectInvokerClassName)
setTimedObjectInvokerClassName in interface EJBTimerServiceImplMBean
public javax.ejb.TimerService createTimerService(javax.management.ObjectName containerId,
Object instancePk,
Container container)
createTimerService in interface EJBTimerServicecontainerId - 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
public javax.ejb.TimerService createTimerService(javax.management.ObjectName containerId,
Object instancePk,
TimedObjectInvoker invoker)
createTimerService in interface EJBTimerServicecontainerId - The string identifier for a class of TimedObjectsinstancePk - The rimary key for an instance of a TimedObject, may be nullinvoker - The TimedObjectInvoker
public javax.ejb.TimerService getTimerService(javax.management.ObjectName containerId,
Object instancePk)
getTimerService in interface EJBTimerServicecontainerId - The string identifier for a class of TimedObjectsinstancePk - The rimary key for an instance of a TimedObject, may be null
public void retryTimeout(javax.management.ObjectName containerId,
Object instancePk,
javax.ejb.Timer timer)
retryTimeout in interface EJBTimerServicecontainerId - 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 ejbTimeout
public void removeTimerService(javax.management.ObjectName containerId,
Object instancePk)
removeTimerService in interface EJBTimerServicecontainerId - The string identifier for a class of TimedObjectsinstancePk - The rimary key for an instance of a TimedObject, may be nullpublic String listTimers()
listTimers in interface EJBTimerServiceImplMBean
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||