Package com.priint.pubserver.appserver
Class GlassfishDomain.JdbcResource
java.lang.Object
com.priint.pubserver.appserver.GlassfishDomain.JdbcResource
- All Implemented Interfaces:
Serializable
- Enclosing class:
- GlassfishDomain
The type Jdbc resource.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new Jdbc resource.JdbcResource(String poolName, String jndiName) Instantiates a new Jdbc resource. -
Method Summary
Modifier and TypeMethodDescriptionGets jndi name.Gets pool name.voidsetJndiName(String jndiName) Sets jndi name.voidsetPoolName(String poolName) Sets pool name.
-
Constructor Details
-
JdbcResource
public JdbcResource()Instantiates a new Jdbc resource. -
JdbcResource
Instantiates a new Jdbc resource.- Parameters:
poolName- the pool namejndiName- the jndi name
-
-
Method Details
-
getJndiName
Gets jndi name.- Returns:
- the jndi name
-
getPoolName
Gets pool name.- Returns:
- the pool name
-
setJndiName
Sets jndi name.- Parameters:
jndiName- the jndi name
-
setPoolName
Sets pool name.- Parameters:
poolName- the pool name
-