Package com.priint.pubserver.appserver
Class GlassfishDomain.ConnectorConnectionPool
java.lang.Object
com.priint.pubserver.appserver.GlassfishDomain.ConnectorConnectionPool
- All Implemented Interfaces:
Serializable
- Enclosing class:
- GlassfishDomain
The type Connector connection pool.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new Connector connection pool.ConnectorConnectionPool(String name, String connectionDefinitionName, String resourceAdapterName) Instantiates a new Connector connection pool. -
Method Summary
Modifier and TypeMethodDescriptionGets definition name.Gets max pool size.getName()Gets name.Gets properties.<T> List<T>getProperties(Class<T> clazz) Gets properties.<T> TgetProperty(Class<T> clazz, String name) Gets property.Gets resource adapter name.voidsetconnectionDefinitionName(String connectionDefinitionName) Sets definition name.voidsetMaxPoolSize(String maxPoolSize) Sets max pool size.voidSets name.voidsetResourceAdapterName(String resourceAdapterName) Sets resource adapter name.
-
Constructor Details
-
ConnectorConnectionPool
public ConnectorConnectionPool()Instantiates a new Connector connection pool. -
ConnectorConnectionPool
public ConnectorConnectionPool(String name, String connectionDefinitionName, String resourceAdapterName) Instantiates a new Connector connection pool.- Parameters:
name- the nameconnectionDefinitionName- the connection definition nameresourceAdapterName- the resource adapter name
-
-
Method Details
-
getconnectionDefinitionName
Gets definition name.- Returns:
- the definition name
-
getMaxPoolSize
Gets max pool size.- Returns:
- the max pool size
-
getName
Gets name.- Returns:
- the name
-
getProperties
Gets properties.- Returns:
- the properties
-
getProperties
Gets properties.- Type Parameters:
T- the type parameter- Parameters:
clazz- the clazz- Returns:
- the properties
-
getProperty
Gets property.- Type Parameters:
T- the type parameter- Parameters:
clazz- the clazzname- the name- Returns:
- the property
-
getResourceAdapterName
Gets resource adapter name.- Returns:
- the resource adapter name
-
setconnectionDefinitionName
Sets definition name.- Parameters:
connectionDefinitionName- the connection definition name
-
setMaxPoolSize
Sets max pool size.- Parameters:
maxPoolSize- the max pool size
-
setName
Sets name.- Parameters:
name- the name
-
setResourceAdapterName
Sets resource adapter name.- Parameters:
resourceAdapterName- the resource adapter name
-