org.codehaus.wadi.impl
Class AbstractDelegatingContextualiser

java.lang.Object
  extended byorg.codehaus.wadi.impl.AbstractContextualiser
      extended byorg.codehaus.wadi.impl.AbstractChainedContextualiser
          extended byorg.codehaus.wadi.impl.AbstractDelegatingContextualiser
All Implemented Interfaces:
Contextualiser, Lifecycle
Direct Known Subclasses:
SerialContextualiser, StatelessContextualiser

public abstract class AbstractDelegatingContextualiser
extends AbstractChainedContextualiser

TODO - JavaDoc this type

Version:
$Revision: 1139 $
Author:
Jules Gosnell

Field Summary
 
Fields inherited from class org.codehaus.wadi.impl.AbstractChainedContextualiser
_next
 
Fields inherited from class org.codehaus.wadi.impl.AbstractContextualiser
_log
 
Constructor Summary
AbstractDelegatingContextualiser(Contextualiser next)
           
 
Method Summary
 Immoter getDemoter(String name, Motable motable)
          Return a Demoter to the first Contextualiser which would be happy to accept this Motable - in other words - would not evict() it.
 int getLocalSessionCount()
           
 Immoter getSharedDemoter()
           
 boolean isExclusive()
           
 void load(Emoter emoter, Immoter immoter)
           
 void promoteToExclusive(Immoter immoter)
           
 
Methods inherited from class org.codehaus.wadi.impl.AbstractChainedContextualiser
destroy, findRelevantSessionNames, init, setLastAccessedTime, setMaxInactiveInterval, start, stop
 
Methods inherited from class org.codehaus.wadi.impl.AbstractContextualiser
getStartInfo, getStopInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.codehaus.wadi.Contextualiser
contextualise
 

Constructor Detail

AbstractDelegatingContextualiser

public AbstractDelegatingContextualiser(Contextualiser next)
Method Detail

isExclusive

public boolean isExclusive()

getDemoter

public Immoter getDemoter(String name,
                          Motable motable)
Description copied from interface: Contextualiser
Return a Demoter to the first Contextualiser which would be happy to accept this Motable - in other words - would not evict() it.

Parameters:
name - - uid of the Motable
motable - - the Motable in question
Returns:
- a Demoter - a delegate capable of arranging immotion into the correct Contextualiser

getSharedDemoter

public Immoter getSharedDemoter()

promoteToExclusive

public void promoteToExclusive(Immoter immoter)

load

public void load(Emoter emoter,
                 Immoter immoter)

getLocalSessionCount

public int getLocalSessionCount()


Copyright © 2004-2006 Core Developers Network Ltd.. All Rights Reserved.