站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 management API Documentation 英文版文档

J2EEResource (JBoss/Management API) - JBoss 4.0.1 sp1 management API Documentation 英文版文档


org.jboss.management.j2ee
Class J2EEResource

java.lang.Object
  extended byorg.jboss.mx.util.JBossNotificationBroadcasterSupport
      extended byorg.jboss.system.ServiceMBeanSupport
          extended byorg.jboss.management.j2ee.J2EEManagedObject
              extended byorg.jboss.management.j2ee.J2EEResource
All Implemented Interfaces:
J2EEManagedObjectMBean, J2EEResourceMBean, javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, Serializable, org.jboss.system.Service, org.jboss.system.ServiceMBean
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 $
Author:
Andreas Schaefer.
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jboss.management.j2ee.J2EEManagedObject
NAME, TYPE
 
Fields inherited from class org.jboss.system.ServiceMBeanSupport
log, server, SERVICE_CONTROLLER_SIG, serviceName
 
Fields inherited from interface org.jboss.system.ServiceMBean
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED
 
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, getobjectName, getObjectName, getObjectName, getparent, getType, getType, iseventProvider, isstateManageable, isstatisticsProvider, newObjectName, postCreation, postRegister, preDeregister, preDestruction, removeChild, removeObject, removeObject, sendNotification, setparent, toString
 
Methods inherited from class org.jboss.system.ServiceMBeanSupport
create, createService, destroy, destroyService, getLog, getName, getNextNotificationSequenceNumber, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, preRegister, start, startService, stop, stopService
 
Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport
addNotificationListener, getNotificationInfo, handleNotification, 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
 
Methods inherited from interface org.jboss.system.ServiceMBean
getName, getState, getStateString, jbossInternalLifecycle
 
Methods inherited from interface org.jboss.system.Service
create, destroy, start, stop
 

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
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
Returns:
A hashtable with the J2EE Server name


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