ManagedJDBCResourcepublic class ManagedJDBCResource extends ConfigMBeanBase implements ConfigAttributeName.JDBCResourceThis 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[] | MAPLISTMAPLIST array defines mapping between "external" name and its location in XML relatively base node | private static final String[] | ATTRIBUTESATTRIBUTES array specifies attributes descriptions in format defined for MBeanEasyConfig | private static final String[] | OPERATIONSOPERATIONS 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.
this(); //set description tables
initialize(ObjectNames.kJdbcResourceType, new String[]{instanceName, jndiName});
|
|