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:
- DynamicMBean, MBeanRegistration, ModelMBean, ModelMBeanNotificationBroadcaster, NotificationBroadcaster, 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. |
| 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 |
RarConfigMBean
public RarConfigMBean()
throws MBeanException
- A default constructor which calls the parent constructor.
- Throws:
MBeanException - from the super class.
getEntityResolver
public 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 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(String archiveName,
Map map)
throws Exception
- Throws:
Exception
getJDBCTagMap
protected TreeMap getJDBCTagMap()
getPoolTagMap
protected TreeMap getPoolTagMap()
getPoolParams
protected Node getPoolParams(Document doc)
getJDBCParams
protected Node getJDBCParams(Document doc)
Copyright © 2010 OW2 Consortium. All Rights Reserved.