org.codehaus.wadi.impl
Class SessionToContextPoolAdapter

java.lang.Object
  extended byorg.codehaus.wadi.impl.SessionToContextPoolAdapter
All Implemented Interfaces:
ContextPool

public class SessionToContextPoolAdapter
extends Object
implements ContextPool

Hack - plasters over a difference in the API between the Manager and Contextualiser stacks. Sessions appear in both stacks, and must be pooled by the same object, but with different APIs. To be resolved ASAP.

Version:
$Revision: 1139 $
Author:
Jules Gosnell

Field Summary
protected  SessionPool _pool
           
 
Constructor Summary
SessionToContextPoolAdapter(SessionPool pool)
           
 
Method Summary
 void init(SessionConfig config)
           
 void put(Context context)
           
 Context take()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_pool

protected final SessionPool _pool
Constructor Detail

SessionToContextPoolAdapter

public SessionToContextPoolAdapter(SessionPool pool)
Method Detail

init

public void init(SessionConfig config)

put

public void put(Context context)
Specified by:
put in interface ContextPool

take

public Context take()
Specified by:
take in interface ContextPool


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