Package org.jboss.jca.common.metadata.ds
Class DsPoolImpl
- java.lang.Object
-
- org.jboss.jca.common.metadata.common.PoolImpl
-
- org.jboss.jca.common.metadata.ds.DsPoolImpl
-
- All Implemented Interfaces:
Serializable,Pool,DsPool,JCAMetadata,ValidatableMetadata
public class DsPoolImpl extends PoolImpl implements DsPool
A pool implementation- Author:
- Jesper Pedersen
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jboss.jca.common.api.metadata.ds.DsPool
DsPool.Tag
-
-
Field Summary
Fields Modifier and Type Field Description protected BooleanallowMultipleUsersallow-multiple-usersprotected ExtensionconnectionListenerconnection-listener-
Fields inherited from class org.jboss.jca.common.metadata.common.PoolImpl
capacity, fair, flushStrategy, initialPoolSize, maxPoolSize, minPoolSize, prefill, useStrictMin
-
-
Constructor Summary
Constructors Constructor Description DsPoolImpl(Integer minPoolSize, Integer initialPoolSize, Integer maxPoolSize, Boolean prefill, Boolean useStrictMin, FlushStrategy flushStrategy, Boolean allowMultipleUsers, Capacity capacity, Boolean fair, Extension connectionListener)Create a new PoolImpl.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)ExtensiongetConnectionListener()inthashCode()BooleanisAllowMultipleUsers()StringtoString()-
Methods inherited from class org.jboss.jca.common.metadata.common.PoolImpl
getCapacity, getFlushStrategy, getInitialPoolSize, getMaxPoolSize, getMinPoolSize, isFair, isPrefill, isUseStrictMin, validate
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.jboss.jca.common.api.metadata.common.Pool
getCapacity, getFlushStrategy, getInitialPoolSize, getMaxPoolSize, getMinPoolSize, isFair, isPrefill, isUseStrictMin
-
Methods inherited from interface org.jboss.jca.common.api.metadata.ValidatableMetadata
validate
-
-
-
-
Constructor Detail
-
DsPoolImpl
public DsPoolImpl(Integer minPoolSize, Integer initialPoolSize, Integer maxPoolSize, Boolean prefill, Boolean useStrictMin, FlushStrategy flushStrategy, Boolean allowMultipleUsers, Capacity capacity, Boolean fair, Extension connectionListener) throws ValidateException
Create a new PoolImpl.- Parameters:
minPoolSize- minPoolSizeinitialPoolSize- initialPoolSizemaxPoolSize- maxPoolSizeprefill- prefilluseStrictMin- useStrictMinflushStrategy- flushStrategyallowMultipleUsers- allowMultipleUserscapacity- capacityfair- fairconnectionListener- connectionListener- Throws:
ValidateException- ValidateException
-
-
Method Detail
-
isAllowMultipleUsers
public Boolean isAllowMultipleUsers()
- Specified by:
isAllowMultipleUsersin interfaceDsPool
-
getConnectionListener
public Extension getConnectionListener()
- Specified by:
getConnectionListenerin interfaceDsPool
-
-