org.ow2.carol.cmi.ha
Interface StatefulBeanReference


public interface StatefulBeanReference

This interface implements reference to stateful beans.

Author:
Francisco Perez-Sorrosal (fpsorrosal@no-spam@fi.upm.es), Alberto Paz-Jimenez (apaz@no-spam@fi.upm.es)

Method Summary
 byte[] getState()
          Gets the state of the associated bean.
 void injectState(byte[] state)
          Inject the state in the bean.
 boolean isModified()
          Returns true if the bean is modified.
 

Method Detail

getState

byte[] getState()
                throws ReplicationException
Gets the state of the associated bean.

Returns:
The state
Throws:
ReplicationException

isModified

boolean isModified()
                   throws ReplicationException
Returns true if the bean is modified.

Returns:
true if the bean is modified
Throws:
ReplicationException

injectState

void injectState(byte[] state)
                 throws ReplicationException
Inject the state in the bean.

Throws:
ReplicationException


Copyright © 2007 OW2 Consortium. All Rights Reserved.