# ConnectorComponentRuntimeMBean

Overview | Related MBeans | Attributes | Operations

## Overview

Generates notifications about the deployment state of resource adapters. (Each resource adapter is represented by an instance of ConnectorComponentMBean .)

In 2-phase deployment, if a resource adapter's state is `PREPARED` then it has achieved the first phase of deployment (everything is set up and all that remains is to enable a reference to the adapter). When the resource adapter is in an `ACTIVATED` state, it has achieved the second phase of deployment, in which applications can obtain a reference to the adapter.

A server instance creates an instance of this interface when it creates an instance of `weblogic.management.configuration.ConnectorComponentMBean`.

Since | 8.1.0.0
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.ConnectorComponentRuntimeMBean`
Factory Methods | No factory methods. Instances of this MBean are created automatically.
Access Points | You can access this MBean from the following MBean attributes:
ConnectorServiceRuntimeMBean.ActiveRAs ConnectorServiceRuntimeMBean.RAs | ConnectorServiceRuntimeMBean.InactiveRAs
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.

ConnectionPools ConnectorServiceRuntime InboundConnections | Stats WorkManagerRuntimes

### ConnectionPools

An array of `ConnectorConnectionPoolRuntimeMBeans`, each of which represents the runtime data for a connection pool in the resource adapter.

For more information, see:

- ConnectorConnectionPoolRuntimeMBean

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

### ConnectorServiceRuntime

Return the connector service runtime.

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

### InboundConnections

An array of runtime information for all inbound connections for the resource adapter.

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

### Stats

Privileges | Read only
Type | Stats
Relationship type: | Reference.

### 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:

ActiveVersion ActiveVersionId AppDeploymentMBean ComponentName Configuration ConfigurationVersion ConfiguredProperties ConnectionPoolCount ConnectorComponentMBean DeploymentState Description Descriptions EISResourceId EISType InboundConnectionsCount | JndiName Linkref ModuleId Name Parent Schema SpecVersion State SuspendedState Type VendorName Version Versioned VersionId

### ActiveVersion

Return true if this version is the active version. Returns true if this resource adapter is not versioned.

Privileges | Read only
Type | boolean

### ActiveVersionId

Get the active version Id.

Privileges | Read only
Type | java.lang.String

### AppDeploymentMBean

Gets the AppDeploymentMBean for the Connector Component

Deprecated. 9.1.0.0 Acquire this by looking up the AppDeploymentMBean with the same name as the parent ApplicationRuntime

Privileges | Read only
Type |

### ComponentName

Get the name of the connector component.

Privileges | Read only
Type | java.lang.String

### Configuration

Return the xml string representing the RA configuration. The xml corresponding to the latest schema is returned. The current supported version is "1.0"

Privileges | Read only
Type | java.lang.String

### ConfigurationVersion

Return the latest configuration version.<.p>

Privileges | Read only
Type | java.lang.String

### ConfiguredProperties

Gets a subset of the resource adapter descriptor information.

Privileges | Read only
Type | java.util.Properties

### ConnectionPoolCount

The number of connection pools.

Privileges | Read only
Type | int

### ConnectorComponentMBean

Gets the ConnectorComponentMBean for the Connector Component.

Deprecated. 9.1.0.0 The connector component mbean was already deprecated.

Privileges | Read only
Type |

### DeploymentState

The current deployment state of the module.

Privileges | Read only
Type | int

### Description

Get the Description for the resource adapter.

Privileges | Read only
Type | java.lang.String

### Descriptions

Get the Descriptions for the resource adapter.

Privileges | Read only
Type | class java.lang.String[]

### EISResourceId

Returns the EISResourceId for the component.

Privileges | Read only
Type | java.lang.String

### EISType

Get the EIS type.

Privileges | Read only
Type | java.lang.String

### InboundConnectionsCount

The number of inbound connections for the resource adapter.

Privileges | Read only
Type | int

### JndiName

Get the Jndi name of the resource adapter.

Privileges | Read only
Type | java.lang.String

### Linkref

Get the linkref.

Privileges | Read only
Type | java.lang.String

### 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 |

### Schema

Get the latest schema for RA configuration.

Privileges | Read only
Type | java.lang.String

### SpecVersion

Get the spec version.

Privileges | Read only
Type | java.lang.String

### State

Get the state of the resource adapter.

Privileges | Read only
Type | java.lang.String

### SuspendedState

Gets the suspended state information of the resource adapter.

If getState() returns SUSPENDED then getSuspendedState() returns an integer describing which functions of the resource adapter are suspended: one or more of INBOUND, OUTBOUND or WORK (or ALL) or 0 for nothing suspended

For more information, see:

- Suspendable

Privileges | Read only
Type | int

### Type

Returns the type of the MBean.

Privileges | Read only
Type | java.lang.String

### VendorName

Get the vendor name.

Privileges | Read only
Type | java.lang.String

### Version

Get the version.

Privileges | Read only
Type | java.lang.String

### Versioned

Check if the resource adapter is versioned. Returns true if it is.

Privileges | Read only
Type | boolean

### VersionId

Get the version Id.

Privileges | Read only
Type | java.lang.String

## Operations

This section describes the following operations:

getConfiguration getConnectionPool getInboundConnection getSchema resume resume | resumeAll suspend suspend suspendAll

### getConfiguration

Return the xml string representing the RA configuration. The xml corresponding to the version specified is returned.

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

### getConnectionPool

Returns a `ConnectorConnectionPoolRuntimeMBean` that represents the statistics for a connection pool. The pool that is accessed in this call must be part of the resource adapter that is being accessed. A null is returned if the JNDI name or resource-link name is not found.

For more information, see:

- ConnectorConnectionPoolRuntimeMBean

Operation Name | `"getConnectionPool"`
Parameters | `Object [] { key }` where: `key` is an object of type `java.lang.String` that specifies: JNDI name or resource-link name of the connection pool.
Signature | `String [] { "java.lang.String" }`
Returns | `ConnectorConnectionPoolRuntimeMBean`

### getInboundConnection

Runtime information for the specified inbound connection. A null is returned if the inbound connection is not found in the resource adapter.

Operation Name | `"getInboundConnection"`
Parameters | `Object [] { messageListenerType }` where: `messageListenerType` is an object of type `java.lang.String` that specifies: Message listener type.
Signature | `String [] { "java.lang.String" }`
Returns | `ConnectorInboundRuntimeMBean`

### getSchema

Get the schema for RA configuration based on the version that is provided. Return null if the version is not found. The current supported version is "1.0"

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

### resume

Resumes the specified type of activity for this resource adapter

Operation Name | `"resume"`
Parameters | `Object [] { type, props }` where: `type` is an object of type `java.lang.Integer` that specifies: int The type of activity(ies), @see weblogic.connector.extensions.Suspendable `props` is an object of type `java.util.Properties` that specifies: Properties to pass on to the RA or null
Signature | `String [] { "java.lang.Integer", "java.util.Properties" }`
Returns | `void`
Exceptions | `weblogic.utils.ErrorCollectionException`

### resume

Resumes the specified type of activity for this resource adapter

Operation Name | `"resume"`
Parameters | `Object [] { type }` where: `type` is an object of type `java.lang.Integer` that specifies: int The type of activity(ies), @see weblogic.connector.extensions.Suspendable
Signature | `String [] { "java.lang.Integer" }`
Returns | `void`
Exceptions | `weblogic.utils.ErrorCollectionException`

### resumeAll

Resumes all activities of this resource adapter.

Operation Name | `"resumeAll"`
Parameters | `null`
Signature | `null`
Returns | `void`
Exceptions | `weblogic.utils.ErrorCollectionException`

### suspend

Suspends the specified type of activity for this resource adapter

Operation Name | `"suspend"`
Parameters | `Object [] { type, props }` where: `type` is an object of type `java.lang.Integer` that specifies: int The type of activity(ies), @see weblogic.connector.extensions.Suspendable `props` is an object of type `java.util.Properties` that specifies: Properties to pass on to the RA or null
Signature | `String [] { "java.lang.Integer", "java.util.Properties" }`
Returns | `void`
Exceptions | `weblogic.utils.ErrorCollectionException`

### suspend

Suspend a particular type of activity for this resource adapter

Operation Name | `"suspend"`
Parameters | `Object [] { type }` where: `type` is an object of type `java.lang.Integer` that specifies: int The type of activity(ies), @see weblogic.connector.extensions.Suspendable
Signature | `String [] { "java.lang.Integer" }`
Returns | `void`
Exceptions | `weblogic.utils.ErrorCollectionException`

### suspendAll

Resumes all activities of this resource adapter.

Operation Name | `"suspendAll"`
Parameters | `null`
Signature | `null`
Returns | `void`
Exceptions | `weblogic.utils.ErrorCollectionException`