org.jboss.cache.statetransfer
Class DefaultStateTransferIntegrator

java.lang.Object
  extended by org.jboss.cache.statetransfer.DefaultStateTransferIntegrator
All Implemented Interfaces:
StateTransferIntegrator

public class DefaultStateTransferIntegrator
extends java.lang.Object
implements StateTransferIntegrator


Field Summary
protected  org.apache.commons.logging.Log log
           
 
Constructor Summary
DefaultStateTransferIntegrator(Fqn targetFqn, CacheImpl cache)
           
 
Method Summary
protected  CacheImpl getCache()
           
protected  NodeFactory getFactory()
           
protected  NodeFactory.NodeType getNodeType()
           
protected  Fqn getTargetFqn()
           
protected  void integrateAssociatedState(java.io.ObjectInputStream in)
          Provided for subclasses that deal with associated state.
protected  void integratePersistentState(java.io.ObjectInputStream in)
           
 void integrateState(java.io.ObjectInputStream ois, Node target)
           
protected  void integrateTransientState(java.io.ObjectInputStream in, NodeSPI target)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected org.apache.commons.logging.Log log
Constructor Detail

DefaultStateTransferIntegrator

public DefaultStateTransferIntegrator(Fqn targetFqn,
                                      CacheImpl cache)
Method Detail

integrateState

public void integrateState(java.io.ObjectInputStream ois,
                           Node target)
                    throws java.lang.Exception
Specified by:
integrateState in interface StateTransferIntegrator
Throws:
java.lang.Exception

integrateTransientState

protected void integrateTransientState(java.io.ObjectInputStream in,
                                       NodeSPI target)
                                throws java.lang.Exception
Throws:
java.lang.Exception

integrateAssociatedState

protected void integrateAssociatedState(java.io.ObjectInputStream in)
                                 throws java.lang.Exception
Provided for subclasses that deal with associated state.

Throws:
java.lang.Exception

integratePersistentState

protected void integratePersistentState(java.io.ObjectInputStream in)
                                 throws java.lang.Exception
Throws:
java.lang.Exception

getCache

protected CacheImpl getCache()

getFactory

protected NodeFactory getFactory()

getNodeType

protected NodeFactory.NodeType getNodeType()

getTargetFqn

protected Fqn getTargetFqn()