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

Deprecated. use TimerEntityBean instead

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

Session bean that interacts with the EJB timer service to schedule jBPM timers.

See Also:
Serialized Form

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

Constructor Detail

TimerServiceBean

public TimerServiceBean()
Deprecated. 
Method Detail

ejbCreate

public void ejbCreate()
Deprecated. 

createTimer

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

cancelTimer

public void cancelTimer(org.jbpm.job.Timer timer)
Deprecated. 

cancelTimersByName

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

cancelTimersForProcessInstance

public void cancelTimersForProcessInstance(org.jbpm.graph.exe.ProcessInstance processInstance)
Deprecated. 

ejbTimeout

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

setSessionContext

public void setSessionContext(javax.ejb.SessionContext sessionContext)
                       throws javax.ejb.EJBException,
                              java.rmi.RemoteException
Deprecated. 
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
Deprecated. 
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
Deprecated. 
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
Deprecated. 
Specified by:
ejbRemove in interface javax.ejb.SessionBean
Throws:
javax.ejb.EJBException
java.rmi.RemoteException


Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.