Package com.priint.pubserver.appserver
Class GlassfishDomain.JdbcConnectionPool
java.lang.Object
com.priint.pubserver.appserver.GlassfishDomain.JdbcConnectionPool
- All Implemented Interfaces:
Serializable
- Enclosing class:
- GlassfishDomain
The type Jdbc connection pool.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new Jdbc connection pool.JdbcConnectionPool(String name, String datasourceClassname, String resType) Instantiates a new Jdbc connection pool. -
Method Summary
Modifier and TypeMethodDescriptionGets datasource classname.Gets fail all connections.getName()Gets name.Gets non transactional connections.Gets properties.<T> List<T>getProperties(Class<T> clazz) Gets properties.<T> TgetProperty(Class<T> clazz, String name) Gets property.Gets res type.Gets transaction isolation level.voidsetDatasourceClassname(String datasourceClassname) Sets datasource classname.voidsetFailAllConnections(String failAllConnections) Sets fail all connections.voidSets name.voidsetNonTransactionalConnections(String nonTransactionalConnections) Sets non transactional connections.voidsetResType(String resType) Sets res type.voidsetTransactionIsolationLevel(String transactionIsolationLevel) Sets transaction isolation level.
-
Constructor Details
-
JdbcConnectionPool
public JdbcConnectionPool()Instantiates a new Jdbc connection pool. -
JdbcConnectionPool
Instantiates a new Jdbc connection pool.- Parameters:
name- the namedatasourceClassname- the datasource classnameresType- the res type
-
-
Method Details
-
getDatasourceClassname
Gets datasource classname.- Returns:
- the datasource classname
-
getFailAllConnections
Gets fail all connections.- Returns:
- the fail all connections
-
getName
Gets name.- Returns:
- the name
-
getNonTransactionalConnections
Gets non transactional connections.- Returns:
- the non transactional connections
-
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
-
getResType
Gets res type.- Returns:
- the res type
-
getTransactionIsolationLevel
Gets transaction isolation level.- Returns:
- the transaction isolation level
-
setDatasourceClassname
Sets datasource classname.- Parameters:
datasourceClassname- the datasource classname
-
setFailAllConnections
Sets fail all connections.- Parameters:
failAllConnections- the fail all connections
-
setName
Sets name.- Parameters:
name- the name
-
setNonTransactionalConnections
Sets non transactional connections.- Parameters:
nonTransactionalConnections- the non transactional connections
-
setResType
Sets res type.- Parameters:
resType- the res type
-
setTransactionIsolationLevel
Sets transaction isolation level.- Parameters:
transactionIsolationLevel- the transaction isolation level
-