org.codehaus.wadi.impl
Class AbstractContextualiser

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

public abstract class AbstractContextualiser
extends Object
implements Contextualiser


Field Summary
protected  Log _log
           
 
Constructor Summary
AbstractContextualiser()
           
 
Method Summary
 void destroy()
           
 void findRelevantSessionNames(int numPartitions, Collection[] resultSet)
           
 String getStartInfo()
           
 String getStopInfo()
           
 void init(ContextualiserConfig config)
           
 void start()
           
 void stop()
           
 
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, getDemoter, getLocalSessionCount, getSharedDemoter, isExclusive, load, promoteToExclusive, setLastAccessedTime, setMaxInactiveInterval
 

Field Detail

_log

protected final Log _log
Constructor Detail

AbstractContextualiser

public AbstractContextualiser()
Method Detail

init

public void init(ContextualiserConfig config)
Specified by:
init in interface Contextualiser

start

public void start()
           throws Exception
Specified by:
start in interface Lifecycle
Throws:
Exception

getStartInfo

public String getStartInfo()

stop

public void stop()
          throws Exception
Specified by:
stop in interface Lifecycle
Throws:
Exception

getStopInfo

public String getStopInfo()

destroy

public void destroy()
Specified by:
destroy in interface Contextualiser

findRelevantSessionNames

public void findRelevantSessionNames(int numPartitions,
                                     Collection[] resultSet)
Specified by:
findRelevantSessionNames in interface Contextualiser


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