BEA Systems, Inc.

Type-Safe Access to BEA WebLogic Server 9.0 MBeans (Deprecated)

(Methods marked with @since 9.0.0.0 are not available through the deprecated MBeanHome interface.)


weblogic.management.runtime
Class ComponentRuntimeMBeanImpl

java.lang.Object
  extended byweblogic.management.runtime.RuntimeMBeanDelegate
      extended byweblogic.management.runtime.ComponentRuntimeMBeanImpl
All Implemented Interfaces:
ComponentRuntimeMBean, DynamicMBean, MBeanRegistration, NotificationBroadcaster, weblogic.management.runtime.RuntimeMBean, weblogic.management.WebLogicMBean

public class ComponentRuntimeMBeanImpl
extends weblogic.management.runtime.RuntimeMBeanDelegate
implements ComponentRuntimeMBean

Copyright © 2005 BEA Systems, Inc. All Rights Reserved.

Field Summary
protected  int state
           
 
Fields inherited from interface weblogic.management.runtime.ComponentRuntimeMBean
ACTIVATED, NEW, PREPARED, UNPREPARED
 
Constructor Summary
ComponentRuntimeMBeanImpl(String nameArg, String moduleId, boolean registerNow)
           
ComponentRuntimeMBeanImpl(String nameArg, String moduleId, weblogic.management.runtime.RuntimeMBean parentArg)
          Constructor for the RuntimeMBeanDelegate object
ComponentRuntimeMBeanImpl(String nameArg, String moduleId, weblogic.management.runtime.RuntimeMBean parentArg, boolean registerNow)
          Constructor for the RuntimeMBeanDelegate object
ComponentRuntimeMBeanImpl(String nameArg, String moduleId, weblogic.management.runtime.RuntimeMBean parentArg, boolean registerNow, weblogic.descriptor.DescriptorBean descriptor)
          Constructor for the RuntimeMBeanDelegate object
 
Method Summary
 boolean addWorkManagerRuntime(weblogic.management.runtime.WorkManagerRuntimeMBean wmRuntime)
          Adds the RuntimeMBean for a WorkManager defined in this component
 int getDeploymentState()
          Allows monitoring of the current deployment state of the module.
 String getModuleId()
          Returns the identifier for this Component.
 weblogic.management.runtime.WorkManagerRuntimeMBean[] getWorkManagerRuntimes()
          Get the runtime mbeans for all work managers defined in this component
 void unregister()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParent
 
Methods inherited from interface javax.management.DynamicMBean
getAttribute, getAttributes, invoke, setAttribute, setAttributes
 
Methods inherited from interface javax.management.MBeanRegistration
postDeregister, postRegister, preDeregister, preRegister
 
Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
 

Field Detail

state

protected int state
Constructor Detail

ComponentRuntimeMBeanImpl

public ComponentRuntimeMBeanImpl(String nameArg,
                                 String moduleId,
                                 boolean registerNow)
                          throws weblogic.management.ManagementException

ComponentRuntimeMBeanImpl

public ComponentRuntimeMBeanImpl(String nameArg,
                                 String moduleId,
                                 weblogic.management.runtime.RuntimeMBean parentArg)
                          throws weblogic.management.ManagementException
Constructor for the RuntimeMBeanDelegate object

Throws:
weblogic.management.ManagementException

ComponentRuntimeMBeanImpl

public ComponentRuntimeMBeanImpl(String nameArg,
                                 String moduleId,
                                 weblogic.management.runtime.RuntimeMBean parentArg,
                                 boolean registerNow)
                          throws weblogic.management.ManagementException
Constructor for the RuntimeMBeanDelegate object

Throws:
weblogic.management.ManagementException

ComponentRuntimeMBeanImpl

public ComponentRuntimeMBeanImpl(String nameArg,
                                 String moduleId,
                                 weblogic.management.runtime.RuntimeMBean parentArg,
                                 boolean registerNow,
                                 weblogic.descriptor.DescriptorBean descriptor)
                          throws weblogic.management.ManagementException
Constructor for the RuntimeMBeanDelegate object

Throws:
weblogic.management.ManagementException
Method Detail

addWorkManagerRuntime

public boolean addWorkManagerRuntime(weblogic.management.runtime.WorkManagerRuntimeMBean wmRuntime)
Description copied from interface: ComponentRuntimeMBean

Adds the RuntimeMBean for a WorkManager defined in this component

Specified by:
addWorkManagerRuntime in interface ComponentRuntimeMBean
Excluded: Should not appear in public javadocs
Internal: Should not appear in public javadocs

getDeploymentState

public int getDeploymentState()

Allows monitoring of the current deployment state of the module.

Specified by:
getDeploymentState in interface ComponentRuntimeMBean
Returns:
The deploymentState value

getModuleId

public String getModuleId()

Returns the identifier for this Component. The identifier is unique within the application.

Typical modules will use the URI for their id. Web Modules will return their context-root since the web-uri may not be unique within an EAR.

Specified by:
getModuleId in interface ComponentRuntimeMBean
Returns:
the module id

getWorkManagerRuntimes

public weblogic.management.runtime.WorkManagerRuntimeMBean[] getWorkManagerRuntimes()
Description copied from interface: ComponentRuntimeMBean

Get the runtime mbeans for all work managers defined in this component

Specified by:
getWorkManagerRuntimes in interface ComponentRuntimeMBean

unregister

public void unregister()
                throws weblogic.management.ManagementException
Overrides:
unregister in class weblogic.management.runtime.RuntimeMBeanDelegate
Throws:
weblogic.management.ManagementException

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs90
Copyright 2005 BEA Systems Inc.