org.glassfish.jdbc.admin.cli
Class JDBCResourceManager

java.lang.Object
  extended by org.glassfish.jdbc.admin.cli.JDBCResourceManager
All Implemented Interfaces:
ResourceManager

@Service(name="jdbc-resource")
public class JDBCResourceManager
extends java.lang.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

Constructor Summary
JDBCResourceManager()
           
 
Method Summary
 ResourceStatus create(Resources resources, java.util.HashMap attributes, java.util.Properties properties, java.lang.String target)
           
 Resource createConfigBean(Resources resources, java.util.HashMap attributes, java.util.Properties properties, boolean validate)
           
 ResourceStatus delete(Resources resources, java.lang.String jndiName, java.lang.String target)
           
 java.lang.String getResourceType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDBCResourceManager

public JDBCResourceManager()
Method Detail

getResourceType

public java.lang.String getResourceType()
Specified by:
getResourceType in interface ResourceManager

create

public ResourceStatus create(Resources resources,
                             java.util.HashMap attributes,
                             java.util.Properties properties,
                             java.lang.String target)
                      throws java.lang.Exception
Specified by:
create in interface ResourceManager
Throws:
java.lang.Exception

createConfigBean

public Resource createConfigBean(Resources resources,
                                 java.util.HashMap attributes,
                                 java.util.Properties properties,
                                 boolean validate)
                          throws java.lang.Exception
Specified by:
createConfigBean in interface ResourceManager
Throws:
java.lang.Exception

delete

public ResourceStatus delete(Resources resources,
                             java.lang.String jndiName,
                             java.lang.String target)
                      throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2012 GlassFish Community. All Rights Reserved.