public class BPMServiceClientContext
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
BPMServiceClientContext.BPM_SERVICE
BPM Services {agQueryService, bpmUserAutenticationService, instanceManagementService, ....}.
|
Constructor and Description |
---|
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. |
Modifier and Type | Method and Description |
---|---|
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
|
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.
|
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, Maplogger
- 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, MapserverName
- a name of server from wf_client_config.xmllogger
- BPMServiceClientException
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
value