|
Oracle Fusion Middleware Java API Reference for Oracle BPM Suite 11g Release 1 (11.1.1.7.0) E25378-07 |
||||||||
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 |
ICaseManagementServiceClient |
getCaseManagementServiceClient()
Gets ICaseManagementServiceClient 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 properties.put(IWorkflowServiceClientConstants.CONNECTION_PROPERTY.CLIENT_TYPE, BPMServiceClientFactory.REMOTE_CLIENT); properties.put(IWorkflowServiceClientConstants.CONNECTION_PROPERTY.EJB_PROVIDER_URL, "t3:// 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(java.lang.String clientType,
java.lang.String serverName,
java.util.logging.Logger logger)
Get a BPMServiceClientFactory instance Usage Samples: BPMServiceClientFactory factory = BPMServiceClientFactory.getInstance(BPMServiceClientFactory.REMOTE_CLIENT, serverName, logger); |
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
value
BPMServiceClientFactory
instance
BPMServiceClientException
- if an error occurspublic static BPMServiceClientFactory getInstance(java.lang.String clientType, java.lang.String serverName, java.util.logging.Logger logger) throws BPMServiceClientException
clientType
- client types from BPMServiceClientFactory.REMOTE_CLIENT etc.serverName
- a name of server from client configurationlogger
- a Logger
value
BPMServiceClientFactory
instance
BPMServiceClientException
- 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
object
wscc
- 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
value
BPMServiceClientFactory
value
BPMServiceClientException
- if an error occurspublic IWorkflowServiceClient getWorkflowServiceClient() throws BPMServiceClientException
IBPMUserAuthenticationService
instance
BPMServiceClientException
- if an error occurspublic IBPMUserAuthenticationService getBPMUserAuthenticationService() throws BPMServiceClientException
IBPMUserAuthenticationService
Service client instance
IBPMUserAuthenticationService
instance
BPMServiceClientException
- if an error occurspublic IBPMServiceClient getBPMServiceClient() throws BPMServiceClientException
IBPMServiceClint
Service client instance
IBPMServiceClient
instance
BPMServiceClientException
- if an error occurspublic ICaseManagementServiceClient getCaseManagementServiceClient() throws BPMServiceClientException
ICaseManagementServiceClient
Service client instance
ICaseManagementServiceClient
instance
BPMServiceClientException
- if an error occurs
|
Oracle Fusion Middleware Java API Reference for Oracle BPM Suite 11g Release 1 (11.1.1.7.0) E25378-07 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |