|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.mx.util.JBossNotificationBroadcasterSupport (src)
org.jboss.system.ServiceMBeanSupport (src)
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 (src) |
server, SERVICE_CONTROLLER_SIG, serviceName |
Fields inherited from interface org.jboss.system.ServiceMBean (src) |
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
Constructor Summary | |
EJBTimerServiceImpl()
|
Method Summary | |
TimerService (src) |
createTimerService(ObjectName (src) containerId,
java.lang.Object instancePk,
Container (src) container)
Create a TimerService for a given TimedObjectId that lives in a JBoss Container. |
TimerService (src) |
createTimerService(ObjectName (src) containerId,
java.lang.Object instancePk,
TimedObjectInvoker (src) invoker)
Create a TimerService for a given TimedObjectId that is invoked through the given invoker |
ObjectName (src) |
getPersistencePolicy()
Get the object name of the persistence policy. |
ObjectName (src) |
getRetryPolicy()
Get the object name of the retry policy. |
java.lang.String |
getTimedObjectInvokerClassName()
Get the TimedObjectInvoker class name |
java.lang.String |
getTimerIdGeneratorClassName()
Get the TimerIdGenerator class name |
TimerService (src) |
getTimerService(ObjectName (src) containerId,
java.lang.Object instancePk)
Get the TimerService for a given TimedObjectId |
java.lang.String |
listTimers()
List the timers registered with all TimerService objects |
void |
removeTimerService(ObjectName (src) containerId,
java.lang.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(ObjectName (src) containerId,
java.lang.Object instancePk,
Timer (src) timer)
Invokes the ejbTimeout method a given TimedObjectId |
void |
setPersistencePolicy(ObjectName (src) persistencePolicyName)
Set the object name of the persistence policy. |
void |
setRetryPolicy(ObjectName (src) retryPolicyName)
Set the object name of the retry policy. |
void |
setTimedObjectInvokerClassName(java.lang.String timedObjectInvokerClassName)
Set the TimedObjectInvoker class name |
void |
setTimerIdGeneratorClassName(java.lang.String timerIdGeneratorClassName)
Get the TimerIdGenerator class name |
Methods inherited from class org.jboss.system.ServiceMBeanSupport (src) |
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 (src) |
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 ObjectName (src) getRetryPolicy()
public void setRetryPolicy(ObjectName (src) retryPolicyName)
public ObjectName (src) getPersistencePolicy()
public void setPersistencePolicy(ObjectName (src) persistencePolicyName)
public java.lang.String getTimerIdGeneratorClassName()
public void setTimerIdGeneratorClassName(java.lang.String timerIdGeneratorClassName)
public java.lang.String getTimedObjectInvokerClassName()
public void setTimedObjectInvokerClassName(java.lang.String timedObjectInvokerClassName)
public TimerService (src) createTimerService(ObjectName (src) containerId, java.lang.Object instancePk, Container (src) container)
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
public TimerService (src) createTimerService(ObjectName (src) containerId, java.lang.Object instancePk, TimedObjectInvoker (src) invoker)
containerId
- The string identifier for a class of TimedObjectsinstancePk
- The rimary key for an instance of a TimedObject, may be nullinvoker
- The TimedObjectInvoker
public TimerService (src) getTimerService(ObjectName (src) containerId, java.lang.Object instancePk)
containerId
- The string identifier for a class of TimedObjectsinstancePk
- The rimary key for an instance of a TimedObject, may be null
public void retryTimeout(ObjectName (src) containerId, java.lang.Object instancePk, Timer (src) timer)
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(ObjectName (src) containerId, java.lang.Object instancePk)
containerId
- The string identifier for a class of TimedObjectsinstancePk
- The rimary key for an instance of a TimedObject, may be nullpublic java.lang.String listTimers()
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |