Oracle Fusion Middleware
Oracle WebLogic Server MBean Javadoc
11g Release 1 (10.3.6)

Part Number E13945-06

weblogic.management.runtime
Interface ComponentRuntimeMBean

All Known Subinterfaces:
EJBComponentRuntimeMBean, JDBCConnectionPoolRuntimeMBean, WebAppComponentRuntimeMBean

public interface ComponentRuntimeMBean

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

Deprecation of MBeanHome and Type-Safe Interfaces

This is a type-safe interface for a WebLogic Server MBean, which you can import into your client classes and access through weblogic.management.MBeanHome. As of 9.0, the MBeanHome interface and all type-safe interfaces for WebLogic Server MBeans are deprecated. Instead, client classes that interact with WebLogic Server MBeans should use standard JMX design patterns in which clients use the javax.management.MBeanServerConnection interface to discover MBeans, attributes, and attribute types at runtime. For more information, see "Developing Manageable Applications with JMX" on http://www.oracle.com/technology/products/weblogic/index.html.


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
 

Field Detail

UNPREPARED

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


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.


ACTIVATED

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


NEW

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

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

Since:
9.0.0.0

Copyright 1996, 2011, 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
Oracle WebLogic Server MBean Javadoc
11g Release 1 (10.3.6)

Part Number E13945-06