com.sap.aii.af.service.administration.api.monitoring

Class ProcessContextFactory

java.lang.Object
  extended by com.sap.aii.af.service.administration.api.monitoring.ProcessContextFactory

public class ProcessContextFactory
extends Object

A factory for 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>));

Version:
$Id: //tc/xpi.af/NW711_02_COR/src/_af_service/psrv/api/com/sap/aii/af/service/administration/api/monitoring/ProcessContextFactory.java#1 $
See Also:
ProcessContext, ProcessContextFactory.ParamSet

Nested Class Summary
static class ProcessContextFactory.ParamSet
          A parameter set to be used with the ProcessContextFactory.createProcessContext method.
 
Constructor Summary
protected ProcessContextFactory()
          Protected constructor.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProcessContextFactory

protected ProcessContextFactory()
Protected constructor.

Method Detail

createProcessContext

public ProcessContext createProcessContext(ProcessContextFactory.ParamSet params)
Constructs a new process context using a given parameter set.

Parameters:
params - the parameters to base the process context upon
Returns:
the process context instance
See Also:
ProcessContextFactory.ParamSet

getInstance

public static ProcessContextFactory getInstance()
Obtains an instance of this ProcessContextFactory.

Returns:
the factory instance

getParamSet

public static ProcessContextFactory.ParamSet getParamSet()
Creates a parameter set for use with this factory.

Returns:
the ParamSet instance


Copyright 2009 SAP AG Complete Copyright Notice