Oracle Fusion Middleware
Workflow Services Java API Reference for Oracle SOA Suite
11g Release 1 (11.1.1.7)
E10660-11

oracle.bpel.services.workflow.client.config
Class ClientConfigurationUtil

java.lang.Object
  extended by oracle.bpel.services.workflow.client.config.ClientConfigurationUtil

public class ClientConfigurationUtil
extends java.lang.Object

ClientConfigurationUtil class

Since:
11.1.1.0

Constructor Summary
ClientConfigurationUtil()
           
 
Method Summary
static WorkflowServicesClientConfigurationType cloneClientConfiguration(WorkflowServicesClientConfigurationType wsClientConfig)
           
static WorkflowServicesClientConfigurationType getClientConfiguration(java.lang.String fileName, java.util.logging.Logger logger)
          Get Workflow Client Configuration
static ServerType getDefaultServerType(WorkflowServicesClientConfigurationType clientConfig)
          Gets Default ServerType
static java.util.List<ServerType> getFederatedServerList(WorkflowServicesClientConfigurationType wscct, java.util.List<java.lang.String> requestedServers)
           
static java.util.Map<java.lang.String,ServerType> getFederatedServers(WorkflowServicesClientConfigurationType wscct)
           
static ServerType getServerType(WorkflowServicesClientConfigurationType clientConfig, java.lang.String serverName)
          Gets ServerType by server name
static WorkflowServicesClientConfigurationType migrateOriginalConfiguration(java.lang.String fileName, java.lang.String destFileName, java.util.logging.Logger logger)
          Migrate OriginalConfiguration
static void printClientConfiguration(WorkflowServicesClientConfigurationType wsClientConfig)
          Prints workflow client configuration
static void validateClientConfiguration(WorkflowServicesClientConfigurationType wscct)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientConfigurationUtil

public ClientConfigurationUtil()
Method Detail

cloneClientConfiguration

public static WorkflowServicesClientConfigurationType cloneClientConfiguration(WorkflowServicesClientConfigurationType wsClientConfig)

printClientConfiguration

public static void printClientConfiguration(WorkflowServicesClientConfigurationType wsClientConfig)
Prints workflow client configuration

Parameters:
wsClientConfig - a workflow client configuration

getClientConfiguration

public static WorkflowServicesClientConfigurationType getClientConfiguration(java.lang.String fileName,
                                                                             java.util.logging.Logger logger)
                                                                      throws oracle.bpel.services.workflow.client.WorkflowServiceClientException
Get Workflow Client Configuration

Parameters:
fileName - a file name
logger - a Logger object
Returns:
WorkflowServicesClientConfigurationType object
Throws:
oracle.bpel.services.workflow.client.WorkflowServiceClientException

migrateOriginalConfiguration

public static WorkflowServicesClientConfigurationType migrateOriginalConfiguration(java.lang.String fileName,
                                                                                   java.lang.String destFileName,
                                                                                   java.util.logging.Logger logger)
                                                                            throws java.lang.Exception
Migrate OriginalConfiguration

Parameters:
fileName -
destFileName -
logger -
Returns:
Throws:
java.lang.Exception

getDefaultServerType

public static ServerType getDefaultServerType(WorkflowServicesClientConfigurationType clientConfig)
                                       throws WorkflowException
Gets Default ServerType

Parameters:
clientConfig -
Returns:
default ServerType
Throws:
WorkflowException

getServerType

public static ServerType getServerType(WorkflowServicesClientConfigurationType clientConfig,
                                       java.lang.String serverName)
                                throws WorkflowException
Gets ServerType by server name

Parameters:
clientConfig -
Returns:
default ServerType
Throws:
WorkflowException

getFederatedServers

public static java.util.Map<java.lang.String,ServerType> getFederatedServers(WorkflowServicesClientConfigurationType wscct)
                                                                      throws WorkflowException
Throws:
WorkflowException

getFederatedServerList

public static java.util.List<ServerType> getFederatedServerList(WorkflowServicesClientConfigurationType wscct,
                                                                java.util.List<java.lang.String> requestedServers)
                                                         throws WorkflowException
Throws:
WorkflowException

validateClientConfiguration

public static void validateClientConfiguration(WorkflowServicesClientConfigurationType wscct)
                                        throws WorkflowException
Throws:
WorkflowException

Oracle Fusion Middleware
Workflow Services Java API Reference for Oracle SOA Suite
11g Release 1 (11.1.1.7)
E10660-11

Copyright © 2009, 2013, Oracle and/or its affiliates. All rights reserved.