org.ow2.jonas.lib.ejb21.ha
Class StatefulBeanRefImpl

java.lang.Object
  extended by org.ow2.jonas.lib.ejb21.ha.StatefulBeanRefImpl
All Implemented Interfaces:
org.ow2.cmi.ha.StatefulBeanReference

public class StatefulBeanRefImpl
extends Object
implements org.ow2.cmi.ha.StatefulBeanReference

This class implements reference to beans

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

Field Summary
protected static org.objectweb.util.monolog.api.Logger cmilogger
          Logger for traces
 
Constructor Summary
StatefulBeanRefImpl(JStatefulSwitch bs)
           
 
Method Summary
 byte[] getState()
           
 void injectState(byte[] state)
           
 boolean isModified()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cmilogger

protected static org.objectweb.util.monolog.api.Logger cmilogger
Logger for traces

Constructor Detail

StatefulBeanRefImpl

public StatefulBeanRefImpl(JStatefulSwitch bs)
Method Detail

getState

public byte[] getState()
                throws org.ow2.cmi.ha.ReplicationException
Specified by:
getState in interface org.ow2.cmi.ha.StatefulBeanReference
Throws:
org.ow2.cmi.ha.ReplicationException

isModified

public boolean isModified()
                   throws org.ow2.cmi.ha.ReplicationException
Specified by:
isModified in interface org.ow2.cmi.ha.StatefulBeanReference
Throws:
org.ow2.cmi.ha.ReplicationException

injectState

public void injectState(byte[] state)
                 throws org.ow2.cmi.ha.ReplicationException
Specified by:
injectState in interface org.ow2.cmi.ha.StatefulBeanReference
Throws:
org.ow2.cmi.ha.ReplicationException


Copyright © 2010 OW2 Consortium. All Rights Reserved.