| |
|
| java.lang.Object org.jboss.test.timer.ejb.TimerSLSBean
TimerSLSBean | public class TimerSLSBean implements SessionBean,TimedObject(Code) | | Stateless Session Bean Timer Test
author: Thomas Diesler author: Scott.Stark@jboss.org version: $Revision: 57211 $ |
ejbActivate | public void ejbActivate()(Code) | | |
ejbCreate | public void ejbCreate()(Code) | | Create the Session Bean
|
ejbPassivate | public void ejbPassivate()(Code) | | |
ejbRemove | public void ejbRemove()(Code) | | |
ejbTimeout | public void ejbTimeout(Timer timer)(Code) | | |
getInfo | public Object getInfo(byte[] handle)(Code) | | User object of the timer |
getNextTimeout | public Date getNextTimeout(byte[] handle)(Code) | | Date of the next timed event |
getRetryTimeoutPeriod | public long getRetryTimeoutPeriod()(Code) | | Returns the value from the RetryPolicyMBean. This is used by unit tests to help determine timing
for some of the tests, specifically, those that test the fix for JBAS-1926.
|
getTimeRemaining | public long getTimeRemaining(byte[] handle)(Code) | | Time remaining until next timed event in milliseconds |
getTimeoutCount | public int getTimeoutCount(byte[] handle)(Code) | | |
setSessionContext | public void setSessionContext(SessionContext aContext)(Code) | | |
startSingleTimer | public byte[] startSingleTimer(long pPeriod)(Code) | | Start a single timer (if not already set) with the start date plus the period
Uses the string "TimerSLSBean.startSingleTimer" as the timer info data.
Parameters: pPeriod - Time that will elapse between now and the timed event in milliseconds |
startSingleTimer | public byte[] startSingleTimer(long pPeriod, Serializable info)(Code) | | Start a single timer (if not already set) with the start date plus the period and specified info.
Parameters: pPeriod - Time that will elapse between now and the timed event in milliseconds Parameters: info - an object to be used as the info for the timer. |
startTimer | public byte[] startTimer(long pPeriod)(Code) | | Start a timer (if not already set) with the start date plus the period
and an interval of the given period
Uses the string "TimerSLSBean.startTimer" as the timer info data.
Parameters: pPeriod - Time that will elapse between two events in milliseconds |
startTimer | public byte[] startTimer(long pPeriod, Serializable info)(Code) | | Start a timer (if not already set) with the start date plus the period
and an interval of the given period
Parameters: pPeriod - Time that will elapse between two events in milliseconds Parameters: info - an object to be used as the info for the timer. |
stopTimer | public void stopTimer(byte[] handle)(Code) | | |
toString | public String toString()(Code) | | Describes the instance and its content for debugging purpose
Debugging information about the instance and its content |
|
|
|