ManagedJNDIResourcepublic class ManagedJNDIResource extends ConfigMBeanBase implements ConfigAttributeName.ExternalJndiResourceThis Config MBean represents a a JNDI-resource.
It extends ConfigMBeanBase class which provides get/set attribute(s) and getMBeanInfo services according to text descriptions.
ObjectName of this MBean is:
ias: ctype=jndi, instance-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 op;erations descriptions in format defined for MBeanEasyConfig |
Constructors Summary |
---|
public ManagedJNDIResource()Default constructor sets MBean description tables
this.setDescriptions(MAPLIST, ATTRIBUTES, OPERATIONS);
| public ManagedJNDIResource(String instanceName, String jndiName)Constructs Config MBean for JNDI Resource.
this(); //set description tables
initialize(ObjectNames.kJndiResourceType, new String[]{instanceName, jndiName});
|
|