org.codehaus.wadi.impl
Class SimpleSessionPool

java.lang.Object
  extended byorg.codehaus.wadi.impl.SimpleSessionPool
All Implemented Interfaces:
SessionPool

public class SimpleSessionPool
extends Object
implements SessionPool


Field Summary
protected  SessionConfig _config
           
protected  SessionFactory _factory
           
 
Constructor Summary
SimpleSessionPool(SessionFactory factory)
           
 
Method Summary
 void destroy()
           
 void init(SessionConfig config)
           
 void put(Session session)
           
 Session take()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_factory

protected final SessionFactory _factory

_config

protected SessionConfig _config
Constructor Detail

SimpleSessionPool

public SimpleSessionPool(SessionFactory factory)
Method Detail

init

public void init(SessionConfig config)
Specified by:
init in interface SessionPool

destroy

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

take

public Session take()
Specified by:
take in interface SessionPool

put

public void put(Session session)
Specified by:
put in interface SessionPool


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