org.jboss.management.j2ee
Class J2EEResource

java.lang.Object
  extended by org.jboss.mx.util.JBossNotificationBroadcasterSupport
      extended by org.jboss.management.j2ee.J2EEManagedObject
          extended by org.jboss.management.j2ee.J2EEResource
All Implemented Interfaces:
javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, J2EEManagedObjectMBean, J2EEResourceMBean
Direct Known Subclasses:
JavaMailResource, JCAResource, JDBCResource, JMSResource, JNDIResource, JTAResource, RMI_IIOPResource, URLResource

public abstract class J2EEResource
extends J2EEManagedObject
implements J2EEResourceMBean

Root class of the JBoss JSR-77 J2EEResources

Version:
$Revision: 1.7.6.3 $
Author:
Andreas Schaefer

Field Summary
 
Fields inherited from class org.jboss.management.j2ee.J2EEManagedObject
NAME, server, TYPE
 
Constructor Summary
J2EEResource(String type, String name, javax.management.ObjectName parentName)
           
 
Method Summary
protected  Hashtable getParentKeys(javax.management.ObjectName parentName)
          Extract the name attribute from parent and return J2EEServer=name
 
Methods inherited from class org.jboss.management.j2ee.J2EEManagedObject
addChild, getLog, getNextNotificationSequenceNumber, getobjectName, getObjectName, getparent, getServer, getType, getType, iseventProvider, isstateManageable, isstatisticsProvider, newObjectName, postCreation, postDeregister, postRegister, preDeregister, preDestruction, preRegister, removeChild, removeObject, removeObject, sendNotification, setparent, toString
 
Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport
addNotificationListener, getNotificationInfo, handleNotification, nextNotificationSequenceNumber, removeNotificationListener, removeNotificationListener, sendNotification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jboss.management.j2ee.J2EEManagedObjectMBean
addChild, getobjectName, getparent, iseventProvider, isstateManageable, isstatisticsProvider, removeChild, setparent
 

Constructor Detail

J2EEResource

public J2EEResource(String type,
                    String name,
                    javax.management.ObjectName parentName)
             throws javax.management.MalformedObjectNameException,
                    InvalidParentException
Parameters:
type - the j2eeType key value
name - Name of the J2EEResource
parentName - the object name of the parent resource
Throws:
javax.management.MalformedObjectNameException
InvalidParentException
Method Detail

getParentKeys

protected Hashtable getParentKeys(javax.management.ObjectName parentName)
Extract the name attribute from parent and return J2EEServer=name

Overrides:
getParentKeys in class J2EEManagedObject
Parameters:
parentName - the parent ObjectName
Returns:
A hashtable with the J2EE Server name


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.