org.apache.abdera.protocol.server.adapters.jcr
Class SessionPoolManager

java.lang.Object
  extended by org.apache.abdera.protocol.util.PoolManager<T>
      extended by org.apache.abdera.protocol.util.AbstractItemManager<javax.jcr.Session>
          extended by org.apache.abdera.protocol.server.adapters.jcr.SessionPoolManager
All Implemented Interfaces:
ItemManager<javax.jcr.Session>

public class SessionPoolManager
extends AbstractItemManager<javax.jcr.Session>


Constructor Summary
SessionPoolManager(int maxSize, javax.jcr.Repository repository, javax.jcr.Credentials credentials)
           
 
Method Summary
 javax.jcr.Session get(Request request)
          Get an item based on the specified request
protected  javax.jcr.Session internalNewInstance()
           
 
Methods inherited from class org.apache.abdera.protocol.util.PoolManager
getInstance, release
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.abdera.protocol.ItemManager
release
 

Constructor Detail

SessionPoolManager

public SessionPoolManager(int maxSize,
                          javax.jcr.Repository repository,
                          javax.jcr.Credentials credentials)
Method Detail

internalNewInstance

protected javax.jcr.Session internalNewInstance()
Specified by:
internalNewInstance in class PoolManager<javax.jcr.Session>

get

public javax.jcr.Session get(Request request)
Description copied from interface: ItemManager
Get an item based on the specified request

Specified by:
get in interface ItemManager<javax.jcr.Session>
Overrides:
get in class AbstractItemManager<javax.jcr.Session>


Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.