public abstract class AbstractMediation extends java.lang.Object implements Mediation
setMediationServices
and
init
methods of the Mediation
interface.
The init
method simply provides a no-op implementation which
mediation primitive programmers may override to perform initialization.
This class also provides a
getMediationServices
method
to allow access to the mediation services set by the engine.
At a minimum, extenders of this class must implement the
mediate
method of the
Mediation
interface.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
$sccsid |
static java.lang.String |
COPYRIGHT |
Modifier | Constructor and Description |
---|---|
protected |
AbstractMediation()
Explicitly defined protected default constructor.
|
Modifier and Type | Method and Description |
---|---|
MediationServices |
getMediationServices()
Gets the mediation services for this mediation primitive.
|
void |
init()
Basic no-op implementation of init.
|
void |
setMediationServices(MediationServices mediationServices)
Sets the mediation services for this mediation primitive.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String $sccsid
protected AbstractMediation()
public final void setMediationServices(MediationServices mediationServices)
setMediationServices
in interface Mediation
mediationServices
- the mediation services objectMediation.setMediationServices(com.ibm.wsspi.sibx.mediation.MediationServices)
public final MediationServices getMediationServices()
public void init() throws MediationConfigurationException
init
in interface Mediation
MediationConfigurationException
- if any configuration problems
occur in the initialization of this mediation primitive.Mediation.init()