com.ibm.wsspi.sibx.mediation
Class AbstractMediation
- java.lang.Object
com.ibm.wsspi.sibx.mediation.AbstractMediation
All implemented interfaces:
Direct known subclasses:
- 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.
Field Summary
Modifier and Type | Field and Description |
---|---|
|
$sccsid
|
|
COPYRIGHT
|
Constructor Summary
Modifier | Constructor and Description |
---|---|
|
AbstractMediation()
Explicitly defined protected default constructor.
|
Method Summary
Modifier and Type | Method and Description |
---|---|
getMediationServices()
Gets the mediation services for this mediation primitive.
|
|
|
init()
Basic no-op implementation of init.
|
|
setMediationServices(MediationServices mediationServices)
Sets the mediation services for this mediation primitive.
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ibm.wsspi.sibx.mediation.Mediation |
---|
mediate |
Field Detail
COPYRIGHT
- public static final java.lang.String COPYRIGHT
See Also:
$sccsid
- public static final java.lang.String $sccsid
See Also:
Constructor Detail
AbstractMediation
- protected AbstractMediation()
Explicitly defined protected default constructor.
Method Detail
setMediationServices
- public final void setMediationServices( MediationServices mediationServices)
Sets the mediation services for this mediation primitive.
Specified by:
setMediationServices
in interface Mediation
Parameters:
mediationServices
- the mediation services object See Also:
getMediationServices
- public final MediationServices getMediationServices( )
Gets the mediation services for this mediation primitive.
Returns:
the mediation services
init
- public void init()
- throws MediationConfigurationException
Basic no-op implementation of init. Should be overridden to provide
customised initialization.
Throws:
MediationConfigurationException
- if any configuration problems
occur in the initialization of this mediation primitive. See Also: