|
Oracle Fusion Middleware Java API Reference for Oracle BPM Suite 11g Release 1 (11.1.1.6.0) E25378-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.bpm.client.BPMServiceClientFactory
public class BPMServiceClientFactory
Creates instance of IWorkflowServiceClient, IBPMUserAuthenticationService or IBPMServiceClient.
Field Summary | |
---|---|
static java.lang.String |
LOCAL_CLIENT LOCAL Clients will access the BPM and 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 BPM and 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_CLIENT is only for Internal use |
Method Summary | |
---|---|
IBPMServiceClient |
getBPMServiceClient() Gets IBPMServiceClint Service client instance |
IBPMUserAuthenticationService |
getBPMUserAuthenticationService() Gets IBPMUserAuthenticationService Service client instance |
static BPMServiceClientFactory |
getInstance(java.util.Map<IWorkflowServiceClientConstants.CONNECTION_PROPERTY,java.lang.String> properties, java.lang.String serverName, java.util.logging.Logger logger) Get a BPMServiceClientFactory instance Usage Samples: For remote EJB clients Map<IWorkflowServiceClientConstants.CONNECTION_PROPERTY,java.lang.String> properties = new HashMap<IWorkflowServiceClientConstants.CONNECTION_PROPERTY,java.lang.String>(); properties.put(IWorkflowServiceClientConstants.CONNECTION_PROPERTY.CLIENT_TYPE, BPMServiceClientFactory.REMOTE_CLIENT); properties.put(IWorkflowServiceClientConstants.CONNECTION_PROPERTY.EJB_PROVIDER_URL, "t3://<host>:<port>"); properties.put(IWorkflowServiceClientConstants.CONNECTION_PROPERTY.EJB_SECURITY_CREDENTIALS, "welcome1"); properties.put(IWorkflowServiceClientConstants.CONNECTION_PROPERTY.EJB_SECURITY_PRINCIPAL, "demoadmin"); BPMServiceClientFactory factory = BPMServiceClientFactory.getInstance(properties, null); |
static BPMServiceClientFactory |
getInstance(WorkflowServicesClientConfigurationType wscc, java.util.logging.Logger logger) Get a BPMServiceClientFactory factory instance for default server defined in WorkflowServicesClientConfigurationType object |
IWorkflowServiceClient |
getWorkflowServiceClient() Gets Workflow Service Client |
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 LOCAL_CLIENT
public static final java.lang.String REMOTE_CLIENT
Method Detail |
---|
public static BPMServiceClientFactory getInstance(java.util.Map<IWorkflowServiceClientConstants.CONNECTION_PROPERTY,java.lang.String> properties, java.lang.String serverName, java.util.logging.Logger logger) throws BPMServiceClientException
serverName
- a name of server from client configurationlogger
- a Logger
valueBPMServiceClientFactory
instanceBPMServiceClientException
- if an error occurspublic static BPMServiceClientFactory getInstance(WorkflowServicesClientConfigurationType wscc, java.util.logging.Logger logger) throws BPMServiceClientException
BPMServiceClientFactory
factory instance for default server defined in WorkflowServicesClientConfigurationType
objectwscc
- a WorkflowServicesClientConfigurationType
object. If null, configuration file wf_client_config.xml should be in CLASSPATH with proper setting for requested client,else BPMServiceClientException is thrownlogger
- a Logger
valueBPMServiceClientFactory
valueBPMServiceClientException
- if an error occurspublic IWorkflowServiceClient getWorkflowServiceClient() throws BPMServiceClientException
IBPMUserAuthenticationService
instanceBPMServiceClientException
- if an error occurspublic IBPMUserAuthenticationService getBPMUserAuthenticationService() throws BPMServiceClientException
IBPMUserAuthenticationService
Service client instanceIBPMUserAuthenticationService
instanceBPMServiceClientException
- if an error occurspublic IBPMServiceClient getBPMServiceClient() throws BPMServiceClientException
IBPMServiceClint
Service client instanceIBPMServiceClient
instanceBPMServiceClientException
- if an error occurs
|
Oracle Fusion Middleware Java API Reference for Oracle BPM Suite 11g Release 1 (11.1.1.6.0) E25378-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |