Package org.jboss.jca.common.metadata.ds
Class DsXaPoolImpl
- java.lang.Object
-
- org.jboss.jca.common.metadata.common.PoolImpl
-
- org.jboss.jca.common.metadata.common.XaPoolImpl
-
- org.jboss.jca.common.metadata.ds.DsXaPoolImpl
-
- All Implemented Interfaces:
Serializable,Pool,XaPool,DsXaPool,JCAMetadata,ValidatableMetadata
public class DsXaPoolImpl extends XaPoolImpl implements DsXaPool
An XA 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.DsXaPool
DsXaPool.Tag
-
Nested classes/interfaces inherited from interface org.jboss.jca.common.api.metadata.common.Pool
Pool.Tag
-
Nested classes/interfaces inherited from interface org.jboss.jca.common.api.metadata.common.XaPool
XaPool.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.XaPoolImpl
interleaving, isSameRmOverride, noTxSeparatePool, padXid, wrapXaResource
-
Fields inherited from class org.jboss.jca.common.metadata.common.PoolImpl
capacity, fair, flushStrategy, initialPoolSize, maxPoolSize, minPoolSize, prefill, useStrictMin
-
-
Constructor Summary
Constructors Constructor Description DsXaPoolImpl(Integer minPoolSize, Integer initialPoolSize, Integer maxPoolSize, Boolean prefill, Boolean useStrictMin, FlushStrategy flushStrategy, Boolean isSameRmOverride, Boolean interleaving, Boolean padXid, Boolean wrapXaResource, Boolean noTxSeparatePool, Boolean allowMultipleUsers, Capacity capacity, Boolean fair, Extension connectionListener)Create a new XaPoolImpl.
-
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.XaPoolImpl
isInterleaving, isNoTxSeparatePool, isPadXid, isSameRmOverride, isWrapXaResource
-
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
-
Methods inherited from interface org.jboss.jca.common.api.metadata.common.XaPool
isInterleaving, isNoTxSeparatePool, isPadXid, isSameRmOverride, isWrapXaResource
-
-
-
-
Constructor Detail
-
DsXaPoolImpl
public DsXaPoolImpl(Integer minPoolSize, Integer initialPoolSize, Integer maxPoolSize, Boolean prefill, Boolean useStrictMin, FlushStrategy flushStrategy, Boolean isSameRmOverride, Boolean interleaving, Boolean padXid, Boolean wrapXaResource, Boolean noTxSeparatePool, Boolean allowMultipleUsers, Capacity capacity, Boolean fair, Extension connectionListener) throws ValidateException
Create a new XaPoolImpl.- Parameters:
minPoolSize- minPoolSizeinitialPoolSize- initialPoolSizemaxPoolSize- maxPoolSizeprefill- prefilluseStrictMin- useStrictMinflushStrategy- flushStrategyisSameRmOverride- isSameRmOverrideinterleaving- interleavingpadXid- padXidwrapXaResource- wrapXaResourcenoTxSeparatePool- noTxSeparatePoolallowMultipleUsers- allowMultipleUserscapacity- capacityfair- fairconnectionListener- connectionListener- Throws:
ValidateException- ValidateException
-
-
Method Detail
-
isAllowMultipleUsers
public final Boolean isAllowMultipleUsers()
- Specified by:
isAllowMultipleUsersin interfaceDsXaPool
-
getConnectionListener
public Extension getConnectionListener()
- Specified by:
getConnectionListenerin interfaceDsXaPool
-
hashCode
public int hashCode()
Description copied from class:XaPoolImpl- Overrides:
hashCodein classXaPoolImpl
-
equals
public boolean equals(Object obj)
Description copied from class:XaPoolImpl- Overrides:
equalsin classXaPoolImpl
-
toString
public String toString()
- Overrides:
toStringin classXaPoolImpl
-
-