org.jboss.management.j2ee
Class J2EEDeployedObject

java.lang.Object
  extended byorg.jboss.mx.util.JBossNotificationBroadcasterSupport (src) 
      extended byorg.jboss.system.ServiceMBeanSupport (src) 
          extended byorg.jboss.management.j2ee.J2EEManagedObject (src) 
              extended byorg.jboss.management.j2ee.J2EEDeployedObject
All Implemented Interfaces:
MBeanRegistration (src) , NotificationBroadcaster (src) , NotificationEmitter (src) , Service (src) , ServiceMBean (src)
Direct Known Subclasses:
J2EEApplication (src) , J2EEModule (src)

public abstract class J2EEDeployedObject
extends J2EEManagedObject (src)

Root class of the JBoss JSR-77 implementation of J2EEDeployedObject.


Field Summary
static int APPLICATION
           
static int CMP
           
static int EJB
           
static int JAWS
           
static int JBOSS
           
static int JBOSS_WEB
           
static int RAR
           
static int SAR
           
static int WEB
           
 
Fields inherited from class org.jboss.management.j2ee.J2EEManagedObject (src)
NAME, TYPE
 
Fields inherited from class org.jboss.system.ServiceMBeanSupport (src)
log, server, SERVICE_CONTROLLER_SIG, serviceName
 
Fields inherited from interface org.jboss.system.ServiceMBean (src)
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED
 
Constructor Summary
J2EEDeployedObject(java.lang.String pType, java.lang.String pName, ObjectName (src)  pParent, java.lang.String pDeploymentDescriptor)
          Constructor taking the Name of this Object
 
Method Summary
 java.lang.String getdeploymentDescriptor()
           
static java.lang.String getDeploymentDescriptor(java.net.URL pJarUrl, int pType)
           
 java.lang.String getserver()
           
 java.lang.String toString()
           
 
Methods inherited from class org.jboss.management.j2ee.J2EEManagedObject (src)
addChild, getobjectName, getObjectName, getObjectName, getparent, getParentKeys, getType, getType, iseventProvider, isstateManageable, isstatisticsProvider, newObjectName, postCreation, postRegister, preDeregister, preDestruction, removeChild, removeObject, removeObject, sendNotification, setparent
 
Methods inherited from class org.jboss.system.ServiceMBeanSupport (src)
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 (src)
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

APPLICATION

public static final int APPLICATION
See Also:
Constant Field Values (src)

WEB

public static final int WEB
See Also:
Constant Field Values (src)

EJB

public static final int EJB
See Also:
Constant Field Values (src)

RAR

public static final int RAR
See Also:
Constant Field Values (src)

SAR

public static final int SAR
See Also:
Constant Field Values (src)

JBOSS

public static final int JBOSS
See Also:
Constant Field Values (src)

JAWS

public static final int JAWS
See Also:
Constant Field Values (src)

CMP

public static final int CMP
See Also:
Constant Field Values (src)

JBOSS_WEB

public static final int JBOSS_WEB
See Also:
Constant Field Values (src)
Constructor Detail

J2EEDeployedObject

public J2EEDeployedObject(java.lang.String pType,
                          java.lang.String pName,
                          ObjectName (src)  pParent,
                          java.lang.String pDeploymentDescriptor)
                   throws MalformedObjectNameException (src) ,
                          InvalidParentException (src) 
Constructor taking the Name of this Object

Parameters:
pName - Name to be set which must not be null
pDeploymentDescriptor -
Throws:
InvalidParameterException - If the given Name is null
MalformedObjectNameException (src)
InvalidParentException (src)
Method Detail

getDeploymentDescriptor

public static java.lang.String getDeploymentDescriptor(java.net.URL pJarUrl,
                                                       int pType)

getdeploymentDescriptor

public java.lang.String getdeploymentDescriptor()

getserver

public java.lang.String getserver()

toString

public java.lang.String toString()
Overrides:
toString in class J2EEManagedObject (src)