# EJBComponentRuntimeMBean

Overview | Related MBeans | Attributes | Operations

## Overview

This is the top level interface for all runtime information collected for an EJB module.

Security roles | The following roles have read, write, and invoke permission for all non-encrypted attributes and operations in this MBean: Operator
Fully Qualified Interface Name | If you use the `getMBeanInfo` operation in MBeanTypeServiceMBean, supply the following value as this MBean's fully qualified interface name: `weblogic.management.runtime.EJBComponentRuntimeMBean`
Factory Methods | No factory methods. Instances of this MBean are created automatically.
Access Points Inherited from ComponentRuntimeMBean | Because this MBean extends or implements ComponentRuntimeMBean, you can also access this MBean by retrieving ComponentRuntimeMBeans. The following attributes contain ComponentRuntimeMBeans and its subtypes:
ApplicationRuntimeMBean.ComponentRuntimes |

## Related MBeans

This section describes attributes that provide access to other MBeans. For more information about the MBean hierarchy, refer to WebLogic Server MBean Data Model.

EJBRuntimes WorkManagerRuntimes |

### EJBRuntimes

Provides an array of EJBRuntimeMBean objects for this EJB module. The EJBRuntimeMBean instances can be cast to their appropriate subclass (EntityEJBRuntimeMBean, StatelessEJBRuntimeMBean, StatefulEJBRuntimeMBean or MessageDrivenEJBRuntimeMBean) to access additional runtime information for the particular EJB.

Factory Methods | No explicit creator method. The child shares the lifecycle of its parent.
Privileges | Read only
Type | EJBRuntimeMBean[]
Relationship type: | Containment.

### WorkManagerRuntimes

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

Privileges | Read only
Type | WorkManagerRuntimeMBean[]
Relationship type: | Reference.

## Attributes

This section describes the following attributes:

DeploymentState EJBComponent ModuleId Name | Parent Type

### DeploymentState

The current deployment state of the module.

Privileges | Read only
Type | int

### EJBComponent

Provides the associated EJBComponentMBean for this EJB module.

Privileges | Read only
Type |

### ModuleId

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.

Privileges | Read only
Type | java.lang.String

### Name

The name of this configuration. WebLogic Server uses an MBean to implement and persist the configuration.

Privileges | Read only
Type | java.lang.String

### Parent

Return the immediate parent for this MBean

Privileges | Read/Write
Type |

### Type

Returns the type of the MBean.

Privileges | Read only
Type | java.lang.String

## Operations

This section describes the following operations:

getEJBRuntime |

### getEJBRuntime

Provides the EJBRuntimeMBean for the EJB with the specified name.

Operation Name | `"getEJBRuntime"`
Parameters | `Object [] { ejbName }` where: `ejbName` is an object of type `java.lang.String` that specifies: ejbName
Signature | `String [] { "java.lang.String" }`
Returns | `EJBRuntimeMBean`