|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.ejb.txtimer.TimerHandleImpl
An implementation of the TimerHandle
Field Summary | |
static String |
DATE_PATTERN
The date pattern used by this handle |
Method Summary | |
boolean |
equals(Object obj)
Return true if objectId, createDate, periode are equal |
Date |
getFirstTime()
|
Serializable |
getInfo()
|
long |
getPeriode()
|
TimedObjectId |
getTimedObjectId()
|
javax.ejb.Timer |
getTimer()
Obtain a reference to the txtimer represented by this handle. |
String |
getTimerId()
|
int |
hashCode()
Hash code based on objectId, createDate, periode |
static TimerHandleImpl |
parse(String externalForm)
Parse the handle from external form. |
String |
toExternalForm()
Returns the external representation of the handle. |
String |
toString()
Returns a string representation of the object. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final String DATE_PATTERN
Method Detail |
public static TimerHandleImpl parse(String externalForm)
public String toExternalForm()
public String getTimerId()
public TimedObjectId getTimedObjectId()
public Date getFirstTime()
public long getPeriode()
public Serializable getInfo()
public javax.ejb.Timer getTimer() throws IllegalStateException, javax.ejb.NoSuchObjectLocalException, javax.ejb.EJBException
getTimer
in interface javax.ejb.TimerHandle
IllegalStateException
- If this method is invoked while the instance is in
a state that does not allow access to this method.
javax.ejb.NoSuchObjectLocalException
- If invoked on a txtimer that has expired or has been cancelled.
javax.ejb.EJBException
- If this method could not complete due to a system-level failure.public boolean equals(Object obj)
public int hashCode()
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |