org.jbpm.scheduler.ejbtimer
Class TimerServiceBean

java.lang.Object
  extended by org.jbpm.scheduler.ejbtimer.TimerServiceBean
All Implemented Interfaces:
java.io.Serializable, javax.ejb.EnterpriseBean, javax.ejb.SessionBean, javax.ejb.TimedObject

public class TimerServiceBean
extends java.lang.Object
implements javax.ejb.SessionBean, javax.ejb.TimedObject

See Also:
Serialized Form

Constructor Summary
TimerServiceBean()
           
 
Method Summary
 void cancelTimersByName(java.lang.String timerName, org.jbpm.graph.exe.Token token)
           
 void createTimer(org.jbpm.job.Timer timer)
           
 void deleteTimersForProcessInstance(org.jbpm.graph.exe.ProcessInstance processInstance)
           
 void ejbActivate()
           
 void ejbCreate()
           
 void ejbPassivate()
           
 void ejbRemove()
           
 void ejbTimeout(javax.ejb.Timer ejbTimer)
           
 void setSessionContext(javax.ejb.SessionContext sessionContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimerServiceBean

public TimerServiceBean()
Method Detail

ejbCreate

public void ejbCreate()

createTimer

public void createTimer(org.jbpm.job.Timer timer)

cancelTimersByName

public void cancelTimersByName(java.lang.String timerName,
                               org.jbpm.graph.exe.Token token)

deleteTimersForProcessInstance

public void deleteTimersForProcessInstance(org.jbpm.graph.exe.ProcessInstance processInstance)

ejbTimeout

public void ejbTimeout(javax.ejb.Timer ejbTimer)
Specified by:
ejbTimeout in interface javax.ejb.TimedObject

setSessionContext

public void setSessionContext(javax.ejb.SessionContext sessionContext)
                       throws javax.ejb.EJBException,
                              java.rmi.RemoteException
Specified by:
setSessionContext in interface javax.ejb.SessionBean
Throws:
javax.ejb.EJBException
java.rmi.RemoteException

ejbActivate

public void ejbActivate()
                 throws javax.ejb.EJBException,
                        java.rmi.RemoteException
Specified by:
ejbActivate in interface javax.ejb.SessionBean
Throws:
javax.ejb.EJBException
java.rmi.RemoteException

ejbPassivate

public void ejbPassivate()
                  throws javax.ejb.EJBException,
                         java.rmi.RemoteException
Specified by:
ejbPassivate in interface javax.ejb.SessionBean
Throws:
javax.ejb.EJBException
java.rmi.RemoteException

ejbRemove

public void ejbRemove()
               throws javax.ejb.EJBException,
                      java.rmi.RemoteException
Specified by:
ejbRemove in interface javax.ejb.SessionBean
Throws:
javax.ejb.EJBException
java.rmi.RemoteException