org.jboss.management.j2ee
Class J2EEDeployedObject
java.lang.Object
org.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.management.j2ee.J2EEManagedObject
org.jboss.management.j2ee.J2EEDeployedObject
- All Implemented Interfaces:
- javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, J2EEDeployedObjectMBean, J2EEManagedObjectMBean
- Direct Known Subclasses:
- J2EEApplication, J2EEModule
public abstract class J2EEDeployedObject
- extends J2EEManagedObject
- implements J2EEDeployedObjectMBean
Root class of the JBoss JSR-77 implementation of J2EEDeployedObject.
- Version:
- $Revision: 1.13.6.4 $
- Author:
- Andreas Schaefer, Thomas Diesler, Dimitris Andreadis
Methods inherited from class org.jboss.management.j2ee.J2EEManagedObject |
addChild, getLog, getNextNotificationSequenceNumber, getobjectName, getObjectName, getparent, getParentKeys, getServer, getType, getType, iseventProvider, isstateManageable, isstatisticsProvider, newObjectName, postCreation, postDeregister, postRegister, preDeregister, preDestruction, preRegister, removeChild, removeObject, removeObject, sendNotification, setparent |
Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport |
addNotificationListener, getNotificationInfo, handleNotification, nextNotificationSequenceNumber, removeNotificationListener, removeNotificationListener, sendNotification |
APPLICATION
public static final int APPLICATION
- See Also:
- Constant Field Values
WEB
public static final int WEB
- See Also:
- Constant Field Values
EJB
public static final int EJB
- See Also:
- Constant Field Values
RAR
public static final int RAR
- See Also:
- Constant Field Values
SAR
public static final int SAR
- See Also:
- Constant Field Values
JBOSS
public static final int JBOSS
- See Also:
- Constant Field Values
JAWS
public static final int JAWS
- See Also:
- Constant Field Values
CMP
public static final int CMP
- See Also:
- Constant Field Values
JBOSS_WEB
public static final int JBOSS_WEB
- See Also:
- Constant Field Values
J2EEDeployedObject
public J2EEDeployedObject(String pType,
String pName,
javax.management.ObjectName pParent,
String pDeploymentDescriptor)
throws javax.management.MalformedObjectNameException,
InvalidParentException
- Constructor taking the Name of this Object
- Parameters:
pName
- Name to be set which must not be nullpDeploymentDescriptor
-
- Throws:
InvalidParameterException
- If the given Name is null
javax.management.MalformedObjectNameException
InvalidParentException
getDeploymentDescriptor
public static String getDeploymentDescriptor(URL pJarUrl,
int pType)
getDeploymentDescriptor
public static String getDeploymentDescriptor(URL baseJarUrl,
String descriptor)
- Loads and returns in a string form the deployment descriptor
for a module. If the descriptor relative path is null the
baseJarUrl is used as the descriptor itself. Otherwise baseJarUrl
and descriptor are combined to form the final descriptor.
getdeploymentDescriptor
public String getdeploymentDescriptor()
- Description copied from interface:
J2EEDeployedObjectMBean
- The deployment descriptor of the deployment
- Specified by:
getdeploymentDescriptor
in interface J2EEDeployedObjectMBean
getserver
public String getserver()
- Description copied from interface:
J2EEDeployedObjectMBean
- The name of the server
- Specified by:
getserver
in interface J2EEDeployedObjectMBean
toString
public String toString()
- Overrides:
toString
in class J2EEManagedObject
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.