|
Oracle Fusion Middleware Workflow Services Java API Reference for Oracle SOA Suite 11g Release 1 (11.1.1.7) E10660-11 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.bpel.services.workflow.client.WorkflowServiceClientFactory
public class WorkflowServiceClientFactory
Field Summary | |
---|---|
static java.lang.String |
JAVA_CLIENT
Deprecated. |
static java.lang.String |
LOCAL_CLIENT
For Oracle SOA internal use only - LOCAL Clients will access the Workflow Services through Local EJB layer Client calls will become local ejb calls made directly to the EJB implementing the service |
static java.lang.String |
REMOTE_CLIENT
REMOTE Clients will access the Workflow Services through Remote EJB layer Client calls will become remote ejb calls made directly to the EJB implementing the service |
static java.lang.String |
REMOTE_LOCAL_CLIENT
Deprecated. REMOTE Clients will access the Workflow Services through Remote EJB layer Client calls will become remote ejb calls made directly to the EJB implementing the service |
static java.lang.String |
SOAP_CLIENT
SOAP Clients will access the Workflow Services through SOAP layer Client calls will become SOAP messages to invoke the corresponding exposed SOAP service |
static java.lang.String |
WSIF_CLIENT
Deprecated. |
Constructor Summary | |
---|---|
WorkflowServiceClientFactory()
|
Method Summary | |
---|---|
static ITaskQueryService |
getFederatedTaskQueryService(java.lang.String clientType,
WorkflowServicesClientConfigurationType wscct,
java.util.List<java.lang.String> requestedServers,
java.util.logging.Logger logger)
Gets federated task query service This API is available only if Approval Management Extension is enabled |
static ITaskQueryService |
getFederatedTaskQueryService(WorkflowServicesClientConfigurationType wscct,
java.util.List<java.lang.String> requestedServers,
java.util.logging.Logger logger)
Gets federated task query service This API is available only if Approval Management Extension is enabled |
static BPMIdentityConfigService |
getSOAPIdentityConfigServiceClient(java.util.Map<IWorkflowServiceClientConstants.CONNECTION_PROPERTY,java.lang.String> properties,
java.util.logging.Logger logger)
Get a soap identity service client Usage Samples: Map properties.put(IWorkflowServiceClientConstants.CONNECTION_PROPERTY.SOAP_END_POINT_ROOT, "http:// BPMIdentityService client = WorkflowServiceClientFactory.getSOAPIdentityServiceClient(realName, properties, null); |
static BPMIdentityService |
getSOAPIdentityServiceClient(java.lang.String realmName,
java.util.Map<IWorkflowServiceClientConstants.CONNECTION_PROPERTY,java.lang.String> properties,
java.util.logging.Logger logger)
Get a soap identity service client Usage Samples: Map properties.put(IWorkflowServiceClientConstants.CONNECTION_PROPERTY.SOAP_END_POINT_ROOT, "http:// BPMIdentityService client = WorkflowServiceClientFactory.getSOAPIdentityServiceClient(realName, properties, null); |
static IWorkflowServiceClient |
getWorkflowServiceClient(java.util.Map<IWorkflowServiceClientConstants.CONNECTION_PROPERTY,java.lang.String> properties,
java.util.logging.Logger logger)
Get a workflow service client for server specified as default in the client configuration Usage Samples: For remote EJB clients Map >properties.put(IWorkflowServiceClientConstants.CONNECTION_PROPERTY.CLIENT_TYPE, WorkflowServiceClientFactory.REMOTE_CLIENT); properties.put(IWorkflowServiceClientConstants.CONNECTION_PROPERTY.EJB_PROVIDER_URL, "t3:// properties.put(IWorkflowServiceClientConstants.CONNECTION_PROPERTY.EJB_SECURITY_CREDENTIALS, " properties.put(IWorkflowServiceClientConstants.CONNECTION_PROPERTY.EJB_SECURITY_PRINCIPAL, "demoadmin"); IWorkflowServiceClient client = WorkflowServiceClientFactory.getWorkflowServiceClient(properties, null); For remote SOAP clients Map >properties.put(IWorkflowServiceClientConstants.CONNECTION_PROPERTY.CLIENT_TYPE, WorkflowServiceClientFactory.SOAP_CLIENT); properties.put(IWorkflowServiceClientConstants.CONNECTION_PROPERTY.SOAP_END_POINT_ROOT, "http:// |
static IWorkflowServiceClient |
getWorkflowServiceClient(java.util.Map<IWorkflowServiceClientConstants.CONNECTION_PROPERTY,java.lang.String> properties,
java.lang.String serverName,
java.util.logging.Logger logger)
Get a workflow service client by server name This API is available only if Approval Management Extension is enabled Usage Samples: For remote EJB clients Map >properties.put(IWorkflowServiceClientConstants.CONNECTION_PROPERTY.CLIENT_TYPE, WorkflowServiceClientFactory.REMOTE_CLIENT); properties.put(IWorkflowServiceClientConstants.CONNECTION_PROPERTY.EJB_PROVIDER_URL, "t3:// properties.put(IWorkflowServiceClientConstants.CONNECTION_PROPERTY.EJB_SECURITY_CREDENTIALS, " properties.put(IWorkflowServiceClientConstants.CONNECTION_PROPERTY.EJB_SECURITY_PRINCIPAL, "demoadmin"); IWorkflowServiceClient client = WorkflowServiceClientFactory.getWorkflowServiceClient(properties, null); For remote SOAP clients Map >properties.put(IWorkflowServiceClientConstants.CONNECTION_PROPERTY.CLIENT_TYPE, WorkflowServiceClientFactory.SOAP_CLIENT); properties.put(IWorkflowServiceClientConstants.CONNECTION_PROPERTY.SOAP_END_POINT_ROOT, "http:// IWorkflowServiceClient client = WorkflowServiceClientFactory.getWorkflowServiceClient(properties, null); |
static IWorkflowServiceClient |
getWorkflowServiceClient(java.lang.String clientType)
Get a workflow service client |
static IWorkflowServiceClient |
getWorkflowServiceClient(java.lang.String clientType,
java.util.Map<IWorkflowServiceClientConstants.CONNECTION_PROPERTY,java.lang.String> properties,
java.util.logging.Logger logger)
Get a workflow service client Usage Samples: For remote EJB clients Map properties.put(IWorkflowServiceClientConstants.CONNECTION_PROPERTY.EJB_PROVIDER_URL, "t3:// properties.put(IWorkflowServiceClientConstants.CONNECTION_PROPERTY.EJB_SECURITY_CREDENTIALS, " properties.put(IWorkflowServiceClientConstants.CONNECTION_PROPERTY.EJB_SECURITY_PRINCIPAL, "demoadmin"); IWorkflowServiceClient client = WorkflowServiceClientFactory.getWorkflowServiceClient(WorkflowServiceClientFactory.REMOTE_CLIENT, properties, null); For remote SOAP clients Map properties.put(IWorkflowServiceClientConstants.CONNECTION_PROPERTY.SOAP_END_POINT_ROOT, "http:// IWorkflowServiceClient client = WorkflowServiceClientFactory.getWorkflowServiceClient(WorkflowServiceClientFactory.SOAP_CLIENT, properties, null); |
static IWorkflowServiceClient |
getWorkflowServiceClient(java.lang.String clientType,
WorkflowServicesClientConfigurationType wscc,
java.util.logging.Logger logger)
Get a workflow service client for default server defined in WorkflowServicesClientConfigurationType object. |
static IWorkflowServiceClient |
getWorkflowServiceClient(WorkflowServicesClientConfigurationType wscc,
java.util.logging.Logger logger)
Get a workflow service client for default server defined in WorkflowServicesClientConfigurationType object
This API is available only if Approval Management Extension is enabled |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String SOAP_CLIENT
public static final java.lang.String WSIF_CLIENT
public static final java.lang.String JAVA_CLIENT
public static final java.lang.String LOCAL_CLIENT
public static final java.lang.String REMOTE_CLIENT
public static final java.lang.String REMOTE_LOCAL_CLIENT
Constructor Detail |
---|
public WorkflowServiceClientFactory()
Method Detail |
---|
public static IWorkflowServiceClient getWorkflowServiceClient(java.lang.String clientType)
clientType
- a String
value
IWorkflowServiceClient
valuepublic static IWorkflowServiceClient getWorkflowServiceClient(java.lang.String clientType, java.util.Map<IWorkflowServiceClientConstants.CONNECTION_PROPERTY,java.lang.String> properties, java.util.logging.Logger logger)
clientType
- a String
valueproperties
- a map of properties specifying connection information. The values in this
map will be used in establishing connection to the workflow servicelogger
- a Logger
value
IWorkflowServiceClient
valuepublic static IWorkflowServiceClient getWorkflowServiceClient(java.util.Map<IWorkflowServiceClientConstants.CONNECTION_PROPERTY,java.lang.String> properties, java.util.logging.Logger logger) throws WorkflowException
properties
- a map of properties specifying connection information. The values in this
map will be used in establishing connection to the workflow service. The property
IWorkflowServiceClientConstants.CONNECTION_PROPERTY.CLIENT_TYPE with value either SOAP_CLIENT or REMOTE_CLIENT overwrites
the client type defined in the client configuration file.logger
- a Logger
value
IWorkflowServiceClient
value
WorkflowException
public static IWorkflowServiceClient getWorkflowServiceClient(java.util.Map<IWorkflowServiceClientConstants.CONNECTION_PROPERTY,java.lang.String> properties, java.lang.String serverName, java.util.logging.Logger logger) throws WorkflowException
properties
- a map of properties specifying connection information. The values in this
map will be used in establishing connection to the workflow service. The property
IWorkflowServiceClientConstants.CONNECTION_PROPERTY.CLIENT_TYPE with value either SOAP_CLIENT or REMOTE_CLIENT overwrites
the client type defined in the client configuration file.serverName
- a name of server from client configurationlogger
- a Logger
value
IWorkflowServiceClient
value
WorkflowException
public static IWorkflowServiceClient getWorkflowServiceClient(java.lang.String clientType, WorkflowServicesClientConfigurationType wscc, java.util.logging.Logger logger) throws WorkflowException
WorkflowServicesClientConfigurationType
object.
clientType
- a String
valuewscc
- a WorkflowServicesClientConfigurationType
object. If null, configuration file
wf_client_config.xml should be in CLASSPATH with proper setting for requested client,else WorkflowException is thrownlogger
- a Logger
value
IWorkflowServiceClient
value
WorkflowException
public static IWorkflowServiceClient getWorkflowServiceClient(WorkflowServicesClientConfigurationType wscc, java.util.logging.Logger logger) throws WorkflowException
WorkflowServicesClientConfigurationType
object
clientType
- a String
valuewscc
- a WorkflowServicesClientConfigurationType
object. If null, configuration file
wf_client_config.xml should be in CLASSPATH with proper setting for requested client,else WorkflowException is thrownlogger
- a Logger
value
IWorkflowServiceClient
value
WorkflowException
public static BPMIdentityService getSOAPIdentityServiceClient(java.lang.String realmName, java.util.Map<IWorkflowServiceClientConstants.CONNECTION_PROPERTY,java.lang.String> properties, java.util.logging.Logger logger)
realmName
- a realm name, if null default realm name is usedproperties
- a map of properties specifying connection information. The values in this
map will be used in establishing connection to the workflow servicelogger
- a Logger
value
BPMIdentityService
valuepublic static BPMIdentityConfigService getSOAPIdentityConfigServiceClient(java.util.Map<IWorkflowServiceClientConstants.CONNECTION_PROPERTY,java.lang.String> properties, java.util.logging.Logger logger)
realmName
- a realm name, if null default realm name is usedproperties
- a map of properties specifying connection information. The values in this
map will be used in establishing connection to the workflow servicelogger
- a Logger
value
BPMIdentityConfigService
valuepublic static ITaskQueryService getFederatedTaskQueryService(java.lang.String clientType, WorkflowServicesClientConfigurationType wscct, java.util.List<java.lang.String> requestedServers, java.util.logging.Logger logger) throws WorkflowException
clientType
- a clientType: REMOTE_CLIENT or SOAP_CLIENT. The value overwrite all clientType values defined in wscct or in the configuration filewscct
- WorkflowServicesClientConfigurationType
object. If wscct is null, configuration
object is loaded from wf_client_config.xml.requestedServers
- a list of server names, if null all servers from configurations
ITaskQueryService
value, a federated task query service
WorkflowException
public static ITaskQueryService getFederatedTaskQueryService(WorkflowServicesClientConfigurationType wscct, java.util.List<java.lang.String> requestedServers, java.util.logging.Logger logger) throws WorkflowException
wscct
- WorkflowServicesClientConfigurationType
object. If wscct is null, configuration
object is loaded from wf_client_config.xml.requestedServers
- a list of server names, if null all servers from configurations
ITaskQueryService
value, a federated task query service
WorkflowException
|
Oracle Fusion Middleware Workflow Services Java API Reference for Oracle SOA Suite 11g Release 1 (11.1.1.7) E10660-11 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |