|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.carol.cmi.ha.BeanInfo
public class BeanInfo
This class holds the required information to replicate the beans' state.
| Constructor Summary | |
|---|---|
BeanInfo(org.ow2.carol.cmi.ha.SessionId bid,
StatefulBeanReference bean)
Constructor. |
|
| Method Summary | |
|---|---|
StatefulBeanReference |
getBean()
Returns the bean. |
org.ow2.carol.cmi.ha.SessionId |
getBId()
|
byte[] |
getState()
|
void |
obtainBeanState()
Obtains the state from the bean and store it in state. |
void |
setBId(org.ow2.carol.cmi.ha.SessionId id)
|
void |
setState(byte[] state)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BeanInfo(org.ow2.carol.cmi.ha.SessionId bid,
StatefulBeanReference bean)
bid - state - | Method Detail |
|---|
public org.ow2.carol.cmi.ha.SessionId getBId()
public void setBId(org.ow2.carol.cmi.ha.SessionId id)
id - The bId to set.public byte[] getState()
public void setState(byte[] state)
state - The state to set.public StatefulBeanReference getBean()
public void obtainBeanState()
throws ReplicationException
ReplicationExceptionpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||