FileDocCategorySizeDatePackage
ManagedJDBCResource.javaAPI DocGlassfish v2 API4501Fri May 04 22:33:56 BST 2007com.sun.enterprise.admin.server.core.mbean.config

ManagedJDBCResource

public class ManagedJDBCResource extends ConfigMBeanBase implements ConfigAttributeName.JDBCResource
This Config MBean represents a JDBC resource. It extends ConfigMBeanBase class which provides get/set attribute(s) and getMBeanInfo services according to text descriptions. ObjectName of this MBean is: ias: type=jdbc-resource, instance-name=, name=

Fields Summary
private static final String[]
MAPLIST
MAPLIST array defines mapping between "external" name and its location in XML relatively base node
private static final String[]
ATTRIBUTES
ATTRIBUTES array specifies attributes descriptions in format defined for MBeanEasyConfig
private static final String[]
OPERATIONS
OPERATIONS array specifies operations descriptions in format defined for MBeanEasyConfig
Constructors Summary
public ManagedJDBCResource()
Default constructor sets MBean description tables



                     
       
    
        this.setDescriptions(MAPLIST, ATTRIBUTES, OPERATIONS);
    
public ManagedJDBCResource(String instanceName, String jndiName)
Constructs Config MBean for JDBC Resource.

param
instanceName The server instance name.
param
jndiName JNDI name associated with given resource

        this(); //set description tables
        initialize(ObjectNames.kJdbcResourceType, new String[]{instanceName, jndiName});
    
Methods Summary