|
Oracle Fusion Middleware Java API Reference for Oracle BPM Suite 11g Release 1 (11.1.1.6.3) E25378-06 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.bpm.client.BPMServiceClientContext
public class BPMServiceClientContext
Sets context for BPM Service client, provides connection properties, client side logger, client side configuration etc.
Nested Class Summary | |
---|---|
static class |
BPMServiceClientContext.BPM_SERVICE BPM Services {agQueryService, bpmUserAutenticationService, instanceManagementService, ....}. |
Constructor Summary | |
---|---|
BPMServiceClientContext(java.util.Map<IWorkflowServiceClientConstants.CONNECTION_PROPERTY,java.lang.String> properties, java.util.logging.Logger logger) Creates a new BPMServiceClientContext instance. |
|
BPMServiceClientContext(java.util.Map<IWorkflowServiceClientConstants.CONNECTION_PROPERTY,java.lang.String> properties, java.lang.String serverName, java.util.logging.Logger logger) Creates a new BPMServiceClientContext instance. |
|
BPMServiceClientContext(WorkflowServicesClientConfigurationType wsClientConfig, java.util.logging.Logger logger) Creates a new BPMServiceClientContext instance. |
Method Summary | |
---|---|
javax.naming.InitialContext |
getJNDIInitialContext() gets JNDI initial context. |
java.util.logging.Logger |
getLogger() Gets getLogger object for context. |
static javax.xml.ws.spi.ServiceDelegate |
getService(BPMServiceClientContext.BPM_SERVICE service1, java.net.URL wsdlURL, java.lang.String endPoint, javax.xml.namespace.QName portQName, javax.xml.namespace.QName serviceQName, java.util.logging.Logger logger) Gets a service. |
static java.lang.String |
getServiceUriSuffix(BPMServiceClientContext.BPM_SERVICE service) |
java.lang.String |
getSOAPEndPoint(BPMServiceClientContext.BPM_SERVICE service) Gets soap root end point |
java.lang.String |
getSOAPIdentityPropagationMode() Gets Identity Propagation Mode |
org.w3c.dom.Element |
getSOAPSecurityPolicy() Gets SOAP Security Policy |
oracle.bpel.services.workflow.client.WorkflowServiceClientContext |
getWorkflowServiceClientContext() |
WorkflowServicesClientConfigurationType |
getWorkflowServicesClientConfiguration() |
boolean |
isDiscoveryOfEndPoint() Returns boolean true if discoveryOfEndPoint flag is set in the default Server instance, false otherwise. |
boolean |
isDiscoveryOfEndPoint(java.util.Map<IWorkflowServiceClientConstants.CONNECTION_PROPERTY,java.lang.String> map) Returns boolean true if the DISCOVERY_OF_END_POINT flag is set to true in the map, false otherwise. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BPMServiceClientContext(WorkflowServicesClientConfigurationType wsClientConfig, java.util.logging.Logger logger) throws BPMServiceClientException
BPMServiceClientContext
instance.
wsClientConfig
- WorkflowServicesClientConfigurationType
instance.logger
- a Logger
objectjava.lang.IllegalArgumentException
- if wsClientConfig is null;BPMServiceClientException
public BPMServiceClientContext(java.util.Map<IWorkflowServiceClientConstants.CONNECTION_PROPERTY,java.lang.String> properties, java.util.logging.Logger logger) throws BPMServiceClientException
BPMServiceClientContext
instance.
properties
- a map of client properties, Map<IBPIServiceClientConstants.CONNECTION_PROPERTY, String>logger
-BPMServiceClientException
public BPMServiceClientContext(java.util.Map<IWorkflowServiceClientConstants.CONNECTION_PROPERTY,java.lang.String> properties, java.lang.String serverName, java.util.logging.Logger logger) throws BPMServiceClientException
BPMServiceClientContext
instance.
properties
- a map of client properties, Map<IBPIServiceClientConstants.CONNECTION_PROPERTY, String>serverName
- a name of server from wf_client_config.xmllogger
-BPMServiceClientException
Method Detail |
---|
public static java.lang.String getServiceUriSuffix(BPMServiceClientContext.BPM_SERVICE service)
public static javax.xml.ws.spi.ServiceDelegate getService(BPMServiceClientContext.BPM_SERVICE service1, java.net.URL wsdlURL, java.lang.String endPoint, javax.xml.namespace.QName portQName, javax.xml.namespace.QName serviceQName, java.util.logging.Logger logger)
service
- a BPM_SERVICE
valuewsdlURL
- an URL
valueendPoint
- a String
valueportQName
- a QName
valueserviceQName
- a QName
valuelogger
- a Logger
valueServiceDelegate
valuepublic WorkflowServicesClientConfigurationType getWorkflowServicesClientConfiguration()
public oracle.bpel.services.workflow.client.WorkflowServiceClientContext getWorkflowServiceClientContext()
public javax.naming.InitialContext getJNDIInitialContext() throws BPMServiceClientException
InitialContext
valueBPMServiceClientException
- if an error occurspublic boolean isDiscoveryOfEndPoint()
public boolean isDiscoveryOfEndPoint(java.util.Map<IWorkflowServiceClientConstants.CONNECTION_PROPERTY,java.lang.String> map)
map
-public java.lang.String getSOAPEndPoint(BPMServiceClientContext.BPM_SERVICE service) throws BPMServiceClientException
service
- a BPM_SERVICE
valueString
valueBPMServiceClientException
- if an error occurspublic java.util.logging.Logger getLogger()
getLogger
object for context.Logger
valuepublic java.lang.String getSOAPIdentityPropagationMode() throws BPMServiceClientException
String
value: "dynamic" or "descriptor" if SAML-TOKEN propagation is set, else "none"BPMServiceClientException
- if an error occurspublic org.w3c.dom.Element getSOAPSecurityPolicy() throws BPMServiceClientException
Element
policyBPMServiceClientException
- if an error occurs
|
Oracle Fusion Middleware Java API Reference for Oracle BPM Suite 11g Release 1 (11.1.1.6.3) E25378-06 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |