# ConnectorServiceRuntimeMBean

Overview | Related MBeans | Attributes | Operations

## Overview

This interface defines the runtime information that can be accessed at a connector service level. Runtime information can be accessed at a per resource adapter level or at an overall level.

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

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

ActiveRAs ConnectionPools InactiveRAs | RAs

### ActiveRAs

Returns an array of runtime information for all deployed and active resource adapters.

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

### ConnectionPools

Returns connection pool runtimes for all active resource adapters.

Deprecated.

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

### InactiveRAs

Returns an array of runtime information for all deployed and inactive resource adapters.

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

### RAs

Returns an array of runtime information for all deployed resource adapters.

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

## Attributes

This section describes the following attributes:

ActiveRACount ConnectionPoolCurrentCount ConnectionPoolsTotalCount Name | Parent RACount Type

### ActiveRACount

Returns the number of resource adapters that are active.

Privileges | Read only
Type | int

### ConnectionPoolCurrentCount

Returns the number of connection pools in all active RAs.

Deprecated.

Privileges | Read only
Type | int

### ConnectionPoolsTotalCount

Returns the number of resource adapter connection pools that have been created since server start up. This includes re-deployments.

Returns the total number of deployed connection pools instantiated since the Server startup.

Deprecated.

Privileges | Read only
Type | int

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

### RACount

Returns the number of resource adapters that have been deployed in the server. This count includes active RAs and Non-active RAs ( in the case of versioned RAs that are being replced by a new version )

Privileges | Read only
Type | int

### Type

Returns the type of the MBean.

Privileges | Read only
Type | java.lang.String

## Operations

This section describes the following operations:

getConnectionPool getInboundConnections getRA resume resume resumeAll | resumeAll suspend suspend suspendAll suspendAll

### getConnectionPool

Returns a ConnectorConnectionPoolRuntimeMBean that represents the statistics for a Deployed Connection Pool (a deployed connection pool is equivalent to a deployed RAR).

Deprecated.

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

### getInboundConnections

Returns runtime information for the specified inbound connection. A null is returned if the inbound connection is not found.

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

### getRA

Returns the runtime information of the resource adapter specified by the given JNDI name. A null is returned if the resource adapter cannot be found. This function returns the active RA if multiple versions of the resource adapters has been deployed

Operation Name | `"getRA"`
Parameters | `Object [] { jndiName }` where: `jndiName` is an object of type `java.lang.String` that specifies: The JNDI name of the resource adapter.
Signature | `String [] { "java.lang.String" }`
Returns | `ConnectorComponentRuntimeMBean`

### resume

Resumes the specified type of activity for all RAs.

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`

### resume

Resumes the specified type of activity for all RAs

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`

### resumeAll

Resumes all activities of all resource adapters.

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

### resumeAll

Resumes all activities of all resource adapters.

Operation Name | `"resumeAll"`
Parameters | `Object [] { props }` where: `props` is an object of type `java.util.Properties` that specifies: Properties to be passed to the resource adapters or null
Signature | `String [] { "java.util.Properties" }`
Returns | `void`
Exceptions | `weblogic.utils.ErrorCollectionException`

### suspend

Suspends the specified type of activity for all RAs

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

Suspends the specified type of activity for all RAs.

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

Suspends all activities of all resource adapters.

Operation Name | `"suspendAll"`
Parameters | `Object [] { props }` where: `props` is an object of type `java.util.Properties` that specifies: Properties to be passed to the resource adapters or null
Signature | `String [] { "java.util.Properties" }`
Returns | `void`
Exceptions | `weblogic.utils.ErrorCollectionException`

### suspendAll

Suspends all activities of all resource adapters.

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