org.jencks.factory
Class SinglePoolFactoryBean

java.lang.Object
  extended byorg.jencks.factory.AbstractGeronimoPool
      extended byorg.jencks.factory.SinglePoolFactoryBean
All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean

public class SinglePoolFactoryBean
extends AbstractGeronimoPool
implements org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean

This FactoryBean creates the partitionned pool strategy for the Geronimo connection manager.

This class is based on the common pool properties defined in the AbstractGeronimoPool class.

Author:
Thierry Templier
See Also:
SinglePool, AbstractGeronimoPool, ConnectionManagerFactoryBean.setPoolingSupport(PoolingSupport)

Field Summary
 
Fields inherited from class org.jencks.factory.AbstractGeronimoPool
blockingTimeoutMilliseconds, idleTimeoutMinutes, matchAll, matchOne, maxSize, minSize, selectOneAssumeMatch
 
Constructor Summary
SinglePoolFactoryBean()
           
 
Method Summary
 void afterPropertiesSet()
           
 Object getObject()
           
 Class getObjectType()
           
 boolean isSingleton()
           
 
Methods inherited from class org.jencks.factory.AbstractGeronimoPool
getBlockingTimeoutMilliseconds, getIdleTimeoutMinutes, getMaxSize, getMinSize, isMatchAll, isMatchOne, isSelectOneAssumeMatch, setBlockingTimeoutMilliseconds, setIdleTimeoutMinutes, setMatchAll, setMatchOne, setMaxSize, setMinSize, setSelectOneAssumeMatch
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SinglePoolFactoryBean

public SinglePoolFactoryBean()
Method Detail

getObject

public Object getObject()
                 throws Exception
Specified by:
getObject in interface org.springframework.beans.factory.FactoryBean
Throws:
Exception

getObjectType

public Class getObjectType()
Specified by:
getObjectType in interface org.springframework.beans.factory.FactoryBean

isSingleton

public boolean isSingleton()
Specified by:
isSingleton in interface org.springframework.beans.factory.FactoryBean

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
Exception


Copyright © 2005 LogicBlaze, Inc.. All Rights Reserved.