# WTCRuntimeMBean

Overview | Related MBeans | Attributes | Operations

## Overview

This class is used to 1. query, stop, and start WTC connections. 2. query, suspend, and resume WTC imported and exported services.

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

## Attributes

This section describes the following attributes:

Name Parent ServiceStatus | Type

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

### ServiceStatus

Returns status of all the Import or Export services/resources configured for the targeted WTC server with the specified service name. This service name is the resource name of the WTCImport and WTCExport.

Privileges | Read only
Type | class weblogic.wtc.gwt.DServiceInfo[]

### Type

Returns the type of the MBean.

Privileges | Read only
Type | java.lang.String

## Operations

This section describes the following operations:

getServiceStatus getServiceStatus getServiceStatus getServiceStatus getServiceStatus listConnectionsConfigured resumeService resumeService resumeService resumeService resumeService | startConnection startConnection stopConnection stopConnection suspendService suspendService suspendService suspendService suspendService

### getServiceStatus

Returns status of the imported or exported service of the the specfied service name and provided by the specified local access point. The service name is the resource name of the WTCImport and WTCExport.

Operation Name | `"getServiceStatus"`
Parameters | `Object [] { localAccessPoint, svcName, isImport }` where: `localAccessPoint` is an object of type `java.lang.String` that specifies: The local access point name. `svcName` is an object of type `java.lang.String` that specifies: The resource name of imported or exported service/resource name. `isImport` is an object of type `java.lang.Boolean` that specifies: The type of service indicate whether it is import or export. If true, then it is imported service, if false it is targeted for exported service.
Signature | `String [] { "java.lang.String", "java.lang.String", "java.lang.Boolean" }`
Returns | `int`
Exceptions | `weblogic.wtc.jatmi.TPException`

### getServiceStatus

Returns status of the Import or Export service/resource configured for the targeted WTC server with the specified service name. This service name is the resource name of the WTCImport and WTCExport.

Operation Name | `"getServiceStatus"`
Parameters | `Object [] { svcName, isImport }` where: `svcName` is an object of type `java.lang.String` that specifies: The resource name of imported or exported service/resource name. `isImport` is an object of type `java.lang.Boolean` that specifies: The type of service indicate whether it is import or export. If true, then it is imported service, if false it is targeted for exported service.
Signature | `String [] { "java.lang.String", "java.lang.Boolean" }`
Returns | `int`
Exceptions | `weblogic.wtc.jatmi.TPException`

### getServiceStatus

Returns status of the Import and Export service/resource configured for the targeted WTC server with the specified service name. This service name is the resource name of the WTCImport and WTCExport. As long as one of the directions is available the returned satatus will be available.

Operation Name | `"getServiceStatus"`
Parameters | `Object [] { svcName }` where: `svcName` is an object of type `java.lang.String` that specifies: The resource name of imported or exported service/resource name.
Signature | `String [] { "java.lang.String" }`
Returns | `int`
Exceptions | `weblogic.wtc.jatmi.TPException`

### getServiceStatus

Returns status of a specific imported service provided by the specified local access point and remote access point list. The service name is the resource name of the WTCImport and WTCExport. The remote access point list is a comma separated list; for instance, "TDOM1,TDOM2".

Operation Name | `"getServiceStatus"`
Parameters | `Object [] { }` where:
Signature | `String [] { "java.lang.String", "java.lang.String", "java.lang.String" }`
Returns | `int`
Exceptions | `weblogic.wtc.jatmi.TPException`

### getServiceStatus

Returns status of the imported and exported service of the the specfied service name and provided by the specified local access point. The service name is the resource name of the WTCImport and WTCExport. As long as one of the directions is available then the returned status will be available.

Operation Name | `"getServiceStatus"`
Parameters | `Object [] { localAccessPoint, svcName }` where: `localAccessPoint` is an object of type `java.lang.String` that specifies: The local access point name. `svcName` is an object of type `java.lang.String` that specifies: The resource name of imported or exported service/resource name.
Signature | `String [] { "java.lang.String", "java.lang.String" }`
Returns | `int`
Exceptions | `weblogic.wtc.jatmi.TPException`

### listConnectionsConfigured

Provide a list of the connections configured for this WTCService.

Operation Name | `"listConnectionsConfigured"`
Parameters | `null`
Signature | `null`
Returns | `class`

### resumeService

Resume a specific Import service with the specified service name configured for the specified local access point and remote access point list. The service name is the resource name of the WTCImport and WTCExport. The remote access point list is a comma separated list; for instance, "TDOM1,TDOM2".

Operation Name | `"resumeService"`
Parameters | `Object [] { localAccessPoint, remoteAccessPointList, svcName }` where: `localAccessPoint` is an object of type `java.lang.String` that specifies: The local access point name. `remoteAccessPointList` is an object of type `java.lang.String` that specifies: The comma separated remote access point names. `svcName` is an object of type `java.lang.String` that specifies: The resource name of imported or exported service/resource name.
Signature | `String [] { "java.lang.String", "java.lang.String", "java.lang.String" }`
Returns | `void`
Exceptions | `weblogic.wtc.jatmi.TPException`

### resumeService

Resume all the Import and Export services with the specified service name configured for the specified local access point. The service name is the resource name of the WTCImport and WTCExport.

Operation Name | `"resumeService"`
Parameters | `Object [] { localAccessPoint, svcName }` where: `localAccessPoint` is an object of type `java.lang.String` that specifies: The local access point name. `svcName` is an object of type `java.lang.String` that specifies: The resource name of imported or exported service/resource name.
Signature | `String [] { "java.lang.String", "java.lang.String" }`
Returns | `void`
Exceptions | `weblogic.wtc.jatmi.TPException`

### resumeService

Resume all the Import or Export services with the specified service name. This service name is the resource name of the WTCImport and WTCExport.

Operation Name | `"resumeService"`
Parameters | `Object [] { svcName, isImport }` where: `svcName` is an object of type `java.lang.String` that specifies: The resource name of imported or exported service/resource name. `isImport` is an object of type `java.lang.Boolean` that specifies: The type of service indicate whether it is import or export. If true, then it is imported service, if false it is targeted for exported service.
Signature | `String [] { "java.lang.String", "java.lang.Boolean" }`
Returns | `void`
Exceptions | `weblogic.wtc.jatmi.TPException`

### resumeService

Resume all the Import or Export services with the specified service name configured for the specified local access point. The service name is the resource name of the WTCImport and WTCExport.

Operation Name | `"resumeService"`
Parameters | `Object [] { localAccessPoint, svcName, isImport }` where: `localAccessPoint` is an object of type `java.lang.String` that specifies: The local access point name. `svcName` is an object of type `java.lang.String` that specifies: The resource name of imported or exported service/resource name. `isImport` is an object of type `java.lang.Boolean` that specifies: The type of service indicate whether it is import or export. If true, then it is imported service, if false it is targeted for exported service.
Signature | `String [] { "java.lang.String", "java.lang.String", "java.lang.Boolean" }`
Returns | `void`
Exceptions | `weblogic.wtc.jatmi.TPException`

### resumeService

Resume all the Import and Export services with the specified service name. This service name is the resource name of the WTCImport and WTCExport.

Operation Name | `"resumeService"`
Parameters | `Object [] { svcName }` where: `svcName` is an object of type `java.lang.String` that specifies: The resource name of imported or exported service/resource name.
Signature | `String [] { "java.lang.String" }`
Returns | `void`
Exceptions | `weblogic.wtc.jatmi.TPException`

### startConnection

Attempt to start connections between the specified local domain access point and all remote end points defined for the given local domain domain access point.

Operation Name | `"startConnection"`
Parameters | `Object [] { LDomAccessPointId }` where: `LDomAccessPointId` is an object of type `java.lang.String` that specifies: The local domain access point id.
Signature | `String [] { "java.lang.String" }`
Returns | `void`
Exceptions | `weblogic.wtc.jatmi.TPException`

### startConnection

Attempt to start a connection between the specified local and remote domain access points.

Operation Name | `"startConnection"`
Parameters | `Object [] { LDomAccessPointId, RDomAccessPointId }` where: `LDomAccessPointId` is an object of type `java.lang.String` that specifies: The local domain access point id. `RDomAccessPointId` is an object of type `java.lang.String` that specifies: The remote domain access point id.
Signature | `String [] { "java.lang.String", "java.lang.String" }`
Returns | `void`
Exceptions | `weblogic.wtc.jatmi.TPException`

### stopConnection

Attempt to stop all remote connections configured for the given local access point id.

Operation Name | `"stopConnection"`
Parameters | `Object [] { LDomAccessPointId }` where: `LDomAccessPointId` is an object of type `java.lang.String` that specifies: The local domain access point id.
Signature | `String [] { "java.lang.String" }`
Returns | `void`
Exceptions | `weblogic.wtc.jatmi.TPException`

### stopConnection

Attempt to stop the connection between the specified local and remote domain access points.

Operation Name | `"stopConnection"`
Parameters | `Object [] { LDomAccessPointId, RDomAccessPointId }` where: `LDomAccessPointId` is an object of type `java.lang.String` that specifies: The local domain access point id. `RDomAccessPointId` is an object of type `java.lang.String` that specifies: The remote domain access point id.
Signature | `String [] { "java.lang.String", "java.lang.String" }`
Returns | `void`
Exceptions | `weblogic.wtc.jatmi.TPException`

### suspendService

Suspend a specific Import service with the specified service name configured for the specified local access point and remote access point list. The service name is the resource name of the WTCImport and WTCExport. The remote access point list is a comma separated list; for instance, "TDOM1,TDOM2".

Operation Name | `"suspendService"`
Parameters | `Object [] { localAccessPoint, remoteAccessPointList, svcName }` where: `localAccessPoint` is an object of type `java.lang.String` that specifies: The local access point name. `remoteAccessPointList` is an object of type `java.lang.String` that specifies: The comma separated remote access point names. `svcName` is an object of type `java.lang.String` that specifies: The resource name of imported or exported service/resource name.
Signature | `String [] { "java.lang.String", "java.lang.String", "java.lang.String" }`
Returns | `void`
Exceptions | `weblogic.wtc.jatmi.TPException`

### suspendService

Suspend all the Import and Export services with the specified service name. This service name is the resource name of the WTCImport and WTCExport.

Operation Name | `"suspendService"`
Parameters | `Object [] { svcName }` where: `svcName` is an object of type `java.lang.String` that specifies: The resource name of imported or exported service/resource name.
Signature | `String [] { "java.lang.String" }`
Returns | `void`
Exceptions | `weblogic.wtc.jatmi.TPException`

### suspendService

Suspend all the Import or Export services with the specified service name configured for the specified local access point. The service name is the resource name of the WTCImport and WTCExport.

Operation Name | `"suspendService"`
Parameters | `Object [] { localAccessPoint, svcName, isImport }` where: `localAccessPoint` is an object of type `java.lang.String` that specifies: The local access point name. `svcName` is an object of type `java.lang.String` that specifies: The resource name of imported or exported service/resource name. `isImport` is an object of type `java.lang.Boolean` that specifies: The type of service indicate whether it is import or export. If true, then it is imported service, if false it is targeted for exported service.
Signature | `String [] { "java.lang.String", "java.lang.String", "java.lang.Boolean" }`
Returns | `void`
Exceptions | `weblogic.wtc.jatmi.TPException`

### suspendService

Suspend all the Import or Export services with the specified service name. This service name is the resource name of the WTCImport and WTCExport.

Operation Name | `"suspendService"`
Parameters | `Object [] { svcName, isImport }` where: `svcName` is an object of type `java.lang.String` that specifies: The resource name of imported or exported service/resource name. `isImport` is an object of type `java.lang.Boolean` that specifies: The type of service indicate whether it is import or export. If true, then it is imported service, if false it is targeted for exported service.
Signature | `String [] { "java.lang.String", "java.lang.Boolean" }`
Returns | `void`
Exceptions | `weblogic.wtc.jatmi.TPException`

### suspendService

Suspend all the Import and Export services with the specified service name configured for the specified local access point. The service name is the resource name of the WTCImport and WTCExport.

Operation Name | `"suspendService"`
Parameters | `Object [] { localAccessPoint, svcName }` where: `localAccessPoint` is an object of type `java.lang.String` that specifies: The local access point name. `svcName` is an object of type `java.lang.String` that specifies: The resource name of imported or exported service/resource name.
Signature | `String [] { "java.lang.String", "java.lang.String" }`
Returns | `void`
Exceptions | `weblogic.wtc.jatmi.TPException`