org.ow2.jonas.resource.internal.mbean
Class RarConfigMBean
java.lang.Object
org.apache.commons.modeler.BaseModelMBean
org.ow2.jonas.resource.internal.mbean.ArchiveConfigMBean
org.ow2.jonas.resource.internal.mbean.RarConfigMBean
- All Implemented Interfaces:
- javax.management.DynamicMBean, javax.management.MBeanRegistration, javax.management.modelmbean.ModelMBean, javax.management.modelmbean.ModelMBeanNotificationBroadcaster, javax.management.NotificationBroadcaster, javax.management.PersistentMBean
public class RarConfigMBean
- extends ArchiveConfigMBean
A RAR specific MBean which provides the schemas and EntityResolver
needed to validate a jonas-ra.xml file or an ra.xml file.
- Author:
- Patrick Smith, Greg Lapouchnian
|
Constructor Summary |
RarConfigMBean()
A default constructor which calls the parent constructor. |
|
Method Summary |
org.xml.sax.EntityResolver |
getEntityResolver()
Returns an EntityResolver for the schemas and dtds of
ra.xml and jonas-ra.xml. |
protected org.w3c.dom.Node |
getJDBCParams(org.w3c.dom.Document doc)
|
protected java.util.TreeMap |
getJDBCTagMap()
|
protected org.w3c.dom.Node |
getPoolParams(org.w3c.dom.Document doc)
|
protected java.util.TreeMap |
getPoolTagMap()
|
protected java.util.List |
getSchemaList()
Get a list of schemas available for RARs. |
void |
updateXML(java.lang.String archiveName,
java.util.Map map)
|
| Methods inherited from class org.apache.commons.modeler.BaseModelMBean |
addAttributeChangeNotificationListener, addNotificationListener, createDefaultModelMBeanInfo, createResource, getAttribute, getAttributes, getClassName, getJmxName, getManagedResource, getMBeanInfo, getModelerType, getNotificationInfo, getObjectName, getRegistry, initModelInfo, invoke, isModelMBeanInfoValid, load, postDeregister, postRegister, preDeregister, preRegister, removeAttributeChangeNotificationListener, removeAttributeChangeNotificationListener, removeNotificationListener, removeNotificationListener, removeNotificationListener, sendAttributeChangeNotification, sendAttributeChangeNotification, sendNotification, sendNotification, setAttribute, setAttributes, setManagedResource, setModeledType, setModelMBeanInfo, setRegistry, store, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RarConfigMBean
public RarConfigMBean()
throws javax.management.MBeanException
- A default constructor which calls the parent constructor.
- Throws:
javax.management.MBeanException - from the super class.
getEntityResolver
public org.xml.sax.EntityResolver getEntityResolver()
- Returns an EntityResolver for the schemas and dtds of
ra.xml and jonas-ra.xml.
- Overrides:
getEntityResolver in class ArchiveConfigMBean
- Returns:
- an EntityResolver for the schemas and dtds
for ra.xml and jonas-ra.xml.
getSchemaList
protected java.util.List getSchemaList()
- Get a list of schemas available for RARs.
- Overrides:
getSchemaList in class ArchiveConfigMBean
- Returns:
- a list of schemas for RAR validation.
updateXML
public void updateXML(java.lang.String archiveName,
java.util.Map map)
throws java.lang.Exception
- Throws:
java.lang.Exception
getJDBCTagMap
protected java.util.TreeMap getJDBCTagMap()
getPoolTagMap
protected java.util.TreeMap getPoolTagMap()
getPoolParams
protected org.w3c.dom.Node getPoolParams(org.w3c.dom.Document doc)
getJDBCParams
protected org.w3c.dom.Node getJDBCParams(org.w3c.dom.Document doc)
Copyright © 2010 OW2 Consortium. All Rights Reserved.