|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SagaObject
This is the base for all SAGA objects. Deviation from the SAGA specs: we don't want to call this "Object" because that might cause some confusion in Java. All SAGA objects must support the clone() method, so this interface extends Cloneable.
Field Summary | |
---|---|
static float |
NO_WAIT
Timeout constant: don't wait. |
static float |
WAIT_FOREVER
Timeout constant: wait forever. |
Method Summary | |
---|---|
Object |
clone()
Copies the Saga object. |
String |
getId()
Returns the object id of this SAGA object. |
Session |
getSession()
Returns a shallow copy of the session from which this object was created. |
Field Detail |
---|
static final float WAIT_FOREVER
static final float NO_WAIT
Method Detail |
---|
Session getSession() throws DoesNotExistException
DoesNotExistException
- is thrown when this method is called on objects that do
not have a session attached.String getId()
Object clone() throws CloneNotSupportedException
CloneNotSupportedException
- when the clone method is not supported.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |