Oracle Fusion Middleware
Oracle WebLogic Server MBean Javadoc
11g Release 1 (10.3.6)

Part Number E13945-06

weblogic.management.runtime
Interface WTCRuntimeMBean


public interface WTCRuntimeMBean

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

Deprecation of MBeanHome and Type-Safe Interfaces

This is a type-safe interface for a WebLogic Server MBean, which you can import into your client classes and access through weblogic.management.MBeanHome. As of 9.0, the MBeanHome interface and all type-safe interfaces for WebLogic Server MBeans are deprecated. Instead, client classes that interact with WebLogic Server MBeans should use standard JMX design patterns in which clients use the javax.management.MBeanServerConnection interface to discover MBeans, attributes, and attribute types at runtime. For more information, see "Developing Manageable Applications with JMX" on http://www.oracle.com/technology/products/weblogic/index.html.


Method Summary
 DServiceInfo[] getServiceStatus()
          Returns status of all the Import or Export services/resources configured for the targeted WTC server with the specified service name.
 int getServiceStatus(String svcName)
          Returns status of the Import and Export service/resource configured for the targeted WTC server with the specified service name.
 int getServiceStatus(String svcName, boolean isImport)
          Returns status of the Import or Export service/resource configured for the targeted WTC server with the specified service name.
 int getServiceStatus(String localAccessPoint, String svcName)
          Returns status of the imported and exported service of the specified service name and provided by the specified local access point.
 int getServiceStatus(String localAccessPoint, String svcName, boolean isImport)
          Returns status of the imported or exported service of the specified service name and provided by the specified local access point.
 int getServiceStatus(String localAccessPoint, String remoteAccessPointList, String svcName)
          Returns status of a specific imported service provided by the specified local access point and remote access point list.
 DSessConnInfo[] listConnectionsConfigured()
          Provide a list of the connections configured for this WTCService.
 void resumeService(String svcName)
          Resume all the Import and Export services with the specified service name.
 void resumeService(String svcName, boolean isImport)
          Resume all the Import or Export services with the specified service name.
 void resumeService(String localAccessPoint, String svcName)
          Resume all the Import and Export services with the specified service name configured for the specified local access point.
 void resumeService(String localAccessPoint, String svcName, boolean isImport)
          Resume all the Import or Export services with the specified service name configured for the specified local access point.
 void resumeService(String localAccessPoint, String remoteAccessPointList, String svcName)
          Resume a specific Import service with the specified service name configured for the specified local access point and remote access point list.
 void startConnection(String LDomAccessPointId)
          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.
 void startConnection(String LDomAccessPointId, String RDomAccessPointId)
          Attempt to start a connection between the specified local and remote domain access points.
 void stopConnection(String LdomAccessPointId)
          Attempt to stop all remote connections configured for the given local access point id.
 void stopConnection(String LdomAccessPointId, String RDomAccessPointId)
          Attempt to stop the connection between the specified local and remote domain access points.
 void suspendService(String svcName)
          Suspend all the Import and Export services with the specified service name.
 void suspendService(String svcName, boolean isImport)
          Suspend all the Import or Export services with the specified service name.
 void suspendService(String localAccessPoint, String svcName)
          Suspend all the Import and Export services with the specified service name configured for the specified local access point.
 void suspendService(String localAccessPoint, String svcName, boolean isImport)
          Suspend all the Import or Export services with the specified service name configured for the specified local access point.
 void suspendService(String localAccessPoint, String remoteAccessPointList, String svcName)
          Suspend a specific Import service with the specified service name configured for the specified local access point and remote access point list.
 

Method Detail

startConnection

void startConnection(String LDomAccessPointId,
                     String RDomAccessPointId)
                     throws TPException
Attempt to start a connection between the specified local and remote domain access points.

Parameters:
LDomAccessPointId - The local domain access point id.
RDomAccessPointId - The remote domain access point id.
Throws:
TPException

startConnection

void startConnection(String LDomAccessPointId)
                     throws TPException
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.

Parameters:
LDomAccessPointId - The local domain access point id.
Throws:
TPException

stopConnection

void stopConnection(String LdomAccessPointId,
                    String RDomAccessPointId)
                    throws TPException
Attempt to stop the connection between the specified local and remote domain access points.

Parameters:
LDomAccessPointId - The local domain access point id.
RDomAccessPointId - The remote domain access point id.
Throws:
TPException

stopConnection

void stopConnection(String LdomAccessPointId)
                    throws TPException
Attempt to stop all remote connections configured for the given local access point id.

Parameters:
LDomAccessPointId - The local domain access point id.
Throws:
TPException

listConnectionsConfigured

DSessConnInfo[] listConnectionsConfigured()
Provide a list of the connections configured for this WTCService.

Returns:
An array of instances of DSessConnInfo objects. Each instance contains information on a single configured connection: its local and remote access point ids and whether the connection is currently active.

suspendService

void suspendService(String svcName)
                    throws TPException
Suspend all the Import and Export services with the specified service name. This service name is the resource name of the WTCImport and WTCExport.

Parameters:
svcName - The resource name of imported or exported service/resource name.
Throws:
TPException

suspendService

void suspendService(String svcName,
                    boolean isImport)
                    throws TPException
Suspend all the Import or Export services with the specified service name. This service name is the resource name of the WTCImport and WTCExport.

Parameters:
svcName - The resource name of imported or exported service/resource name.
isImport - 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.
Throws:
TPException

suspendService

void suspendService(String localAccessPoint,
                    String svcName)
                    throws TPException
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.

Parameters:
localAccessPoint - The local access point name.
svcName - The resource name of imported or exported service/resource name.
Throws:
TPException

suspendService

void suspendService(String localAccessPoint,
                    String svcName,
                    boolean isImport)
                    throws TPException
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.

Parameters:
localAccessPoint - The local access point name.
svcName - The resource name of imported or exported service/resource name.
isImport - 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.
Throws:
TPException

suspendService

void suspendService(String localAccessPoint,
                    String remoteAccessPointList,
                    String svcName)
                    throws TPException
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".

Parameters:
localAccessPoint - The local access point name.
remoteAccessPointList - The comma separated remote access point names.
svcName - The resource name of imported or exported service/resource name.
Throws:
TPException

resumeService

void resumeService(String svcName)
                   throws TPException
Resume all the Import and Export services with the specified service name. This service name is the resource name of the WTCImport and WTCExport.

Parameters:
svcName - The resource name of imported or exported service/resource name.
Throws:
TPException

resumeService

void resumeService(String svcName,
                   boolean isImport)
                   throws TPException
Resume all the Import or Export services with the specified service name. This service name is the resource name of the WTCImport and WTCExport.

Parameters:
svcName - The resource name of imported or exported service/resource name.
isImport - 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.
Throws:
TPException

resumeService

void resumeService(String localAccessPoint,
                   String svcName)
                   throws TPException
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.

Parameters:
localAccessPoint - The local access point name.
svcName - The resource name of imported or exported service/resource name.
Throws:
TPException

resumeService

void resumeService(String localAccessPoint,
                   String svcName,
                   boolean isImport)
                   throws TPException
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.

Parameters:
localAccessPoint - The local access point name.
svcName - The resource name of imported or exported service/resource name.
isImport - 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.
Throws:
TPException

resumeService

void resumeService(String localAccessPoint,
                   String remoteAccessPointList,
                   String svcName)
                   throws TPException
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".

Parameters:
localAccessPoint - The local access point name.
remoteAccessPointList - The comma separated remote access point names.
svcName - The resource name of imported or exported service/resource name.
Throws:
TPException

getServiceStatus

DServiceInfo[] getServiceStatus()
                                throws TPException
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.

Returns:
An array of instance of DServiceInfo objects. Each instance contains information on a single configured import or export service/resource: it local access point name, status, type, and service/resource name.
Throws:
TPException

getServiceStatus

int getServiceStatus(String svcName)
                     throws TPException
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.

Parameters:
svcName - The resource name of imported or exported service/resource name.
Returns:
none or throws TPException.TPENOENT if there is no matching service name found.
Throws:
TPException

getServiceStatus

int getServiceStatus(String svcName,
                     boolean isImport)
                     throws TPException
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.

Parameters:
svcName - The resource name of imported or exported service/resource name.
isImport - 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.
Returns:
none or throws TPException.TPENOENT if there is no matching service name found.
Throws:
TPException

getServiceStatus

int getServiceStatus(String localAccessPoint,
                     String svcName)
                     throws TPException
Returns status of the imported and exported service of the specified 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.

Parameters:
localAccessPoint - The local access point name.
svcName - The resource name of imported or exported service/resource name.
Returns:
status or throws TPException.TPENOENT if there is no matching service name found for the sepcified local access point.
Throws:
TPException

getServiceStatus

int getServiceStatus(String localAccessPoint,
                     String svcName,
                     boolean isImport)
                     throws TPException
Returns status of the imported or exported service of the specified service name and provided by the specified local access point. The service name is the resource name of the WTCImport and WTCExport.

Parameters:
localAccessPoint - The local access point name.
svcName - The resource name of imported or exported service/resource name.
isImport - 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.
Returns:
status or throws TPException.TPENOENT if there is no matching service name found for the sepcified local access point.
Throws:
TPException

getServiceStatus

int getServiceStatus(String localAccessPoint,
                     String remoteAccessPointList,
                     String svcName)
                     throws TPException
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".

Returns:
status or throws TPException.TPENOENT if there is no matching service name found for the specified local access point and and remote access point list.
Throws:
TPException

Copyright 1996, 2011, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Oracle WebLogic Server MBean Javadoc
11g Release 1 (10.3.6)

Part Number E13945-06