org.glassfish.jdbc.admin.cli
Class JDBCResourceManager
java.lang.Object
org.glassfish.jdbc.admin.cli.JDBCResourceManager
- All Implemented Interfaces:
- ResourceManager
@Service(name="jdbc-resource")
public class JDBCResourceManager
- extends Object
- implements ResourceManager
- Author:
- Prashanth Abbagani, Jagadish Ramu
The JDBC resource manager allows you to create and delete the config element
Will be used by the add-resources, deployment and CLI command
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JDBCResourceManager
public JDBCResourceManager()
getResourceType
public String getResourceType()
- Specified by:
getResourceType in interface ResourceManager
create
public ResourceStatus create(Resources resources,
HashMap attributes,
Properties properties,
String target)
throws Exception
- Specified by:
create in interface ResourceManager
- Throws:
Exception
createConfigBean
public Resource createConfigBean(Resources resources,
HashMap attributes,
Properties properties,
boolean validate)
throws Exception
- Specified by:
createConfigBean in interface ResourceManager
- Throws:
Exception
delete
public ResourceStatus delete(Resources resources,
String jndiName,
String target)
throws Exception
- Throws:
Exception
Copyright © 2012 GlassFish Community. All Rights Reserved.