public class ProcessContextFactory extends Object
ProcessContext
instances. Parameters are specified
using the ParamSet
class.Usage examples:
ProcessContextFactory.getInstance().createProcessContext(ProcessContextFactory.getParamSet().message(<XI Message>).channel(<CPA Channel>));
or
ProcessContextFactory.getInstance().createProcessContext(ProcessContextFactory.getParamSet().interfaceName(<Interface Name>).interfaceNamespace(<Interface Namespace>).channel(<CPA Channel>));
ProcessContext
,
ProcessContextFactory.ParamSet
Modifier and Type | Class and Description |
---|---|
static class |
ProcessContextFactory.ParamSet
A parameter set to be used with the
ProcessContextFactory.createProcessContext method. |
Modifier | Constructor and Description |
---|---|
protected |
ProcessContextFactory()
Protected constructor.
|
Modifier and Type | Method and Description |
---|---|
ProcessContext |
createProcessContext(ProcessContextFactory.ParamSet params)
Constructs a new process context using a given parameter set.
|
static ProcessContextFactory |
getInstance()
Obtains an instance of this
ProcessContextFactory . |
static ProcessContextFactory.ParamSet |
getParamSet()
Creates a parameter set for use with this factory.
|
public ProcessContext createProcessContext(ProcessContextFactory.ParamSet params)
params
- the parameters to base the process context uponProcessContextFactory.ParamSet
public static ProcessContextFactory getInstance()
ProcessContextFactory
.public static ProcessContextFactory.ParamSet getParamSet()
ParamSet
instanceAccess Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] SAP_XIAF
|
[sap.com] com.sap.aii.af.svc.facade
|
api
|
BC-XI
|
Copyright 2019 SAP AG Complete Copyright Notice