Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02

weblogic.management.runtime
Interface ComponentRuntimeMBean

All Superinterfaces:
DynamicMBean, MBeanRegistration, NotificationBroadcaster, RuntimeMBean, WebLogicMBean
All Known Subinterfaces:
AppClientComponentRuntimeMBean, ConnectorComponentRuntimeMBean, EJBComponentRuntimeMBean, InterceptionComponentRuntimeMBean, JDBCConnectionPoolRuntimeMBean, JDBCDataSourceRuntimeMBean, JDBCMultiDataSourceRuntimeMBean, JDBCOracleDataSourceRuntimeMBean, JMSComponentRuntimeMBean, WebAppComponentRuntimeMBean

public interface ComponentRuntimeMBean
extends RuntimeMBean

Base class for all runtime mbeans that provide status of running modules.


Field Summary
static int ACTIVATED
          State indicating at this module is currently active.
static int NEW
          State indicating this module has just been created and is being initialized.
static int PREPARED
          State indicating at this module of this application is prepared, but not active.
static int UNPREPARED
          State indicating at this module is neither prepared or active.
 
Method Summary
 int getDeploymentState()
          The current deployment state of the module.
 String getModuleId()
          Returns the identifier for this Component.
 WorkManagerRuntimeMBean[] getWorkManagerRuntimes()
          Get the runtime mbeans for all work managers defined in this component
 
Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, 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

UNPREPARED

static final int UNPREPARED
State indicating at this module is neither prepared or active.

See Also:
Constant Field Values

PREPARED

static final int PREPARED
State indicating at this module of this application is prepared, but not active. The classes have been loaded and the module has been validated.

See Also:
Constant Field Values

ACTIVATED

static final int ACTIVATED
State indicating at this module is currently active.

See Also:
Constant Field Values

NEW

static final int NEW
State indicating this module has just been created and is being initialized.

See Also:
Constant Field Values
Method Detail

getModuleId

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.

Returns:
the module id

getDeploymentState

int getDeploymentState()

The current deployment state of the module.

A module can be in one and only one of the following states. State can be changed via deployment or administrator console.

- UNPREPARED. State indicating at this module is neither prepared or active.

- PREPARED. State indicating at this module of this application is prepared, but not active. The classes have been loaded and the module has been validated.

- ACTIVATED. State indicating at this module is currently active.

- NEW. State indicating this module has just been created and is being initialized.

Returns:
The deploymentState value
See Also:
ComponentRuntimeMBean.setDeploymentState(int)

getWorkManagerRuntimes

WorkManagerRuntimeMBean[] getWorkManagerRuntimes()

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


Copyright 1996, 2014, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02