Package org.glassfish.jdbc.admin.cli
Class JDBCConnectionPoolManager
java.lang.Object
org.glassfish.jdbc.admin.cli.JDBCConnectionPoolManager
- All Implemented Interfaces:
org.glassfish.resources.admin.cli.ResourceManager
@Service(name="jdbc-connection-pool")
public class JDBCConnectionPoolManager
extends Object
implements org.glassfish.resources.admin.cli.ResourceManager
- Author:
- Prashanth Abbagani
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.glassfish.resourcebase.resources.api.ResourceStatuscreate(com.sun.enterprise.config.serverbeans.Resources resources, HashMap attributes, Properties properties, String target) com.sun.enterprise.config.serverbeans.ResourcecreateConfigBean(com.sun.enterprise.config.serverbeans.Resources resources, HashMap attributes, Properties properties, boolean validate) org.glassfish.resourcebase.resources.api.ResourceStatusdelete(Iterable<com.sun.enterprise.config.serverbeans.Server> servers, Iterable<com.sun.enterprise.config.serverbeans.Cluster> clusters, com.sun.enterprise.config.serverbeans.Resources resources, String cascade, org.glassfish.api.naming.SimpleJndiName poolName) voidsetAttributes(HashMap attrList)
-
Constructor Details
-
JDBCConnectionPoolManager
public JDBCConnectionPoolManager()
-
-
Method Details
-
getResourceType
- Specified by:
getResourceTypein interfaceorg.glassfish.resources.admin.cli.ResourceManager
-
create
public org.glassfish.resourcebase.resources.api.ResourceStatus create(com.sun.enterprise.config.serverbeans.Resources resources, HashMap attributes, Properties properties, String target) throws Exception - Specified by:
createin interfaceorg.glassfish.resources.admin.cli.ResourceManager- Throws:
Exception
-
setAttributes
-
delete
public org.glassfish.resourcebase.resources.api.ResourceStatus delete(Iterable<com.sun.enterprise.config.serverbeans.Server> servers, Iterable<com.sun.enterprise.config.serverbeans.Cluster> clusters, com.sun.enterprise.config.serverbeans.Resources resources, String cascade, org.glassfish.api.naming.SimpleJndiName poolName) throws Exception - Throws:
Exception
-
createConfigBean
public com.sun.enterprise.config.serverbeans.Resource createConfigBean(com.sun.enterprise.config.serverbeans.Resources resources, HashMap attributes, Properties properties, boolean validate) throws Exception - Specified by:
createConfigBeanin interfaceorg.glassfish.resources.admin.cli.ResourceManager- Throws:
Exception
-