# ConnectorConnectionRuntimeMBean

Overview | Related MBeans | Attributes | Operations

## Overview

This class is used for monitoring individual WebLogic Connector connections

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.ConnectorConnectionRuntimeMBean`
Factory Methods | No factory methods. Instances of this MBean are created automatically.
Access Points | You can access this MBean from the following MBean attributes:
ConnectorConnectionPoolRuntimeMBean.Connections |

## Attributes

This section describes the following attributes:

ActiveHandlesCurrentCount ActiveHandlesHighCount ConnectionFactoryClassName CreationDurationTime CurrentlyInUse Deletable EISProductName EISProductVersion HandlesCreatedTotalCount Idle InTransaction LastUsage LastUsageString | ManagedConnectionFactoryClassName MaxConnections Name Parent ReserveDurationTime ReserveTime Shared StackTrace TransactionId Type UserName

### ActiveHandlesCurrentCount

The current total active connection handles for this connection.

Privileges | Read only
Type | int

### ActiveHandlesHighCount

The high water mark of active connection handles for this connection since the connection was created.

Privileges | Read only
Type | int

### ConnectionFactoryClassName

Returns the connection factory class name.

Privileges | Read only
Type | java.lang.String

### CreationDurationTime

Return the time taken to create the connection.

Privileges | Read only
Type | long

### CurrentlyInUse

Indicates whether the connection is currently in use.

Privileges | Read only
Type | boolean

### Deletable

Indicates whether the connection can be closed manually through the console.

Privileges | Read only
Type | boolean

### EISProductName

Returns the EISProductName associated with the ManagedConnection's MetaData

Privileges | Read only
Type | java.lang.String

### EISProductVersion

Returns the EISProductVersion associated with the ManagedConnection's MetaData.

Privileges | Read only
Type | java.lang.String

### HandlesCreatedTotalCount

The total number of connection handles created for this connection since the connection was created.

Privileges | Read only
Type | int

### Idle

Indicates whether the connection has been idle for a period extending beyond the configured maximum.

Deprecated.

Privileges | Read only
Type | boolean

### InTransaction

Indicates whether the connection is currently in use in a transaction.

Privileges | Read only
Type | boolean

### LastUsage

The last usage time stamp for the connection in milliseconds, as returned by `System.currentTimeMillis()`.

Deprecated.

Privileges | Read only
Type | long

### LastUsageString

The last usage time stamp for the connection as a string.

Deprecated.

Privileges | Read only
Type | java.lang.String

### ManagedConnectionFactoryClassName

Returns the managed connection factory class name.

Privileges | Read only
Type | java.lang.String

### MaxConnections

Returns the MaxConnections associated with the ManagedConnection's MetaData

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 |

### ReserveDurationTime

Get the time taken to reserve this connection.

Privileges | Read only
Type | long

### ReserveTime

Return the last time the connection was reserved.

Privileges | Read only
Type | long

### Shared

Indicates whether the connection is currently being shared by more than one invoker.

Privileges | Read only
Type | boolean

### StackTrace

The stack trace for the current connection, which will be blank unless connection-profiling-enabled is set to true in weblogic-ra.xml

Deprecated.

Privileges | Read only
Type | java.lang.String

### TransactionId

Get the Transaction ID of the transaction that this connection is being used with.

Privileges | Read only
Type | java.lang.String

### Type

Returns the type of the MBean.

Privileges | Read only
Type | java.lang.String

### UserName

Returns the UserName associated with the ManagedConnection's MetaData

Privileges | Read only
Type | java.lang.String

## Operations

This section describes the following operations:

delete hasError | testConnection

### delete

Provides a way to manually close a connection through the console.

Operation Name | `"delete"`
Parameters | `null`
Signature | `null`
Returns | `void`
Exceptions | `weblogic.management.ManagementException`

### hasError

Return a flag indicating whether the connection has an error or not. A "true" is returned if there is an error.

Operation Name | `"hasError"`
Parameters | `null`
Signature | `null`
Returns | `boolean`

### testConnection

Test the connection. Returns true if the test was successful.

Operation Name | `"testConnection"`
Parameters | `null`
Signature | `null`
Returns | `boolean`