| java.lang.Object hero.session.DeadlineEjbTimerSessionBean
DeadlineEjbTimerSessionBean | public class DeadlineEjbTimerSessionBean implements SessionBean,TimedObject(Code) | | Session Bean Template
|
ejbActivate | public void ejbActivate()(Code) | | |
ejbCreate | public void ejbCreate() throws CreateException(Code) | | |
ejbPassivate | public void ejbPassivate()(Code) | | |
ejbRemove | public void ejbRemove()(Code) | | |
ejbTimeout | public void ejbTimeout(Timer timer)(Code) | | timeout is called after time duration within timer
Parameters: Timer - timer from the EJB container-managed timer service throws: HeroException - |
getTimers | public Collection getTimers()(Code) | | Retrieves current timers
Collection of TimerData objects |
removeProjectTimers | public void removeProjectTimers(String projectName) throws HeroException(Code) | | Remove on going timers for a particular process
|
setSessionContext | public void setSessionContext(javax.ejb.SessionContext context)(Code) | | |
startDeadlineEjbTimers | public void startDeadlineEjbTimers(String nodeName, String p_id) throws HeroException(Code) | | Start the EJB timers for node deadlines .
Parameters: name - the name of the node Parameters: p_id - id of the project throws: HeroException - |
stopDeadlineEjbTimer | public void stopDeadlineEjbTimer(String projectName, String nodeName, long date) throws HeroException(Code) | | Stop the EJB timer for node deadline .
Parameters: projectName - the name of the project Parameters: nodeName - the name of the node Parameters: date - date throws: HeroException - |
|
|