org.codehaus.wadi.replication.contextualiser
Class ReplicaAwareContextualiser

java.lang.Object
  extended by org.codehaus.wadi.core.contextualiser.AbstractChainedContextualiser
      extended by org.codehaus.wadi.core.contextualiser.AbstractMotingContextualiser
          extended by org.codehaus.wadi.core.contextualiser.AbstractSharedContextualiser
              extended by org.codehaus.wadi.replication.contextualiser.ReplicaAwareContextualiser
All Implemented Interfaces:
Contextualiser, Lifecycle

public class ReplicaAwareContextualiser
extends AbstractSharedContextualiser

Version:
$Revision: 1603 $

Field Summary
 
Fields inherited from class org.codehaus.wadi.core.contextualiser.AbstractChainedContextualiser
next
 
Constructor Summary
ReplicaAwareContextualiser(Contextualiser next, ReplicationManager replicationManager, StateManager stateManager)
           
 
Method Summary
protected  Motable get(java.lang.String id, boolean exclusiveOnly)
           
 Emoter getEmoter()
           
 Immoter getImmoter()
           
 
Methods inherited from class org.codehaus.wadi.core.contextualiser.AbstractSharedContextualiser
contextualise, getDemoter, getSessionNames, getSharedDemoter, load, promoteToExclusive
 
Methods inherited from class org.codehaus.wadi.core.contextualiser.AbstractMotingContextualiser
getPromoter, handle, promote
 
Methods inherited from class org.codehaus.wadi.core.contextualiser.AbstractChainedContextualiser
doFindRelevantSessionNames, doStart, doStop, findRelevantSessionNames, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReplicaAwareContextualiser

public ReplicaAwareContextualiser(Contextualiser next,
                                  ReplicationManager replicationManager,
                                  StateManager stateManager)
Method Detail

getEmoter

public Emoter getEmoter()
Specified by:
getEmoter in class AbstractMotingContextualiser
Returns:
- an Emoter that facilitates removal of Motables from this Contextualiser's own store

getImmoter

public Immoter getImmoter()
Specified by:
getImmoter in class AbstractMotingContextualiser
Returns:
- an Immoter that facilitates insertion of Motables into this Contextualiser's own store

get

protected Motable get(java.lang.String id,
                      boolean exclusiveOnly)
Specified by:
get in class AbstractMotingContextualiser


Copyright © 2008. All Rights Reserved.