|
JBoss EJB client 1.0.3.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.ejb.client.SessionID
public abstract class SessionID
A session ID for a stateful EJB. Session IDs can be stored in multiple formats with different characteristics.
Nested Class Summary | |
---|---|
static class |
SessionID.Serialized
Serialized representation of a session ID.. |
Method Summary | |
---|---|
static SessionID |
createSessionID(byte[] encoded)
Create a session ID object for the given encoded representation. |
boolean |
equals(Object other)
Determine whether this object is equal to another. |
byte[] |
getEncodedForm()
Get a copy of the encoded form of this session ID. |
protected byte[] |
getEncodedFormRaw()
Get the encoded form of this session ID. |
int |
hashCode()
|
String |
toString()
|
protected Object |
writeReplace()
Substitute this session ID with a serialized representation. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public byte[] getEncodedForm()
protected byte[] getEncodedFormRaw()
public final boolean equals(Object other)
equals
in class Object
other
- the other object
true
if they are equal, false
otherwisepublic final int hashCode()
hashCode
in class Object
public static SessionID createSessionID(byte[] encoded)
encoded
- the encoded representation
protected final Object writeReplace()
public String toString()
toString
in class Object
|
JBoss EJB client 1.0.3.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |