com.ibm.wsspi.sibx.mediation

Class AbstractMediation

  1. java.lang.Object
  2. extended bycom.ibm.wsspi.sibx.mediation.AbstractMediation
All implemented interfaces:
Mediation
Direct known subclasses:
ESBMediationPrimitive

  1. public abstract class AbstractMediation
  2. extends java.lang.Object
  3. implements Mediation
Convenient abstract class for mediation primitive implementors. This provides an implementation of the 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
  1. static
  2. java.lang.String
$sccsid
  1. static
  2. java.lang.String
COPYRIGHT

Constructor Summary

Modifier Constructor and Description
  1. protected
AbstractMediation()
Explicitly defined protected default constructor.

Method Summary

Modifier and Type Method and Description
  1. MediationServices
getMediationServices()
Gets the mediation services for this mediation primitive.
  1. void
init()
Basic no-op implementation of init.
  1. void
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

  1. public static final java.lang.String COPYRIGHT
See Also:

$sccsid

  1. public static final java.lang.String $sccsid
See Also:

Constructor Detail

AbstractMediation

  1. protected AbstractMediation()
Explicitly defined protected default constructor.

Method Detail

setMediationServices

  1. public final void setMediationServices( MediationServices mediationServices)
Sets the mediation services for this mediation primitive.
Specified by:
Parameters:
mediationServices - the mediation services object
See Also:

getMediationServices

  1. public final MediationServices getMediationServices( )
Gets the mediation services for this mediation primitive.
Returns:
the mediation services

init

  1. public void init()
  2. throws MediationConfigurationException
Basic no-op implementation of init. Should be overridden to provide customised initialization.
Specified by:
init in interface Mediation
Throws:
MediationConfigurationException - if any configuration problems occur in the initialization of this mediation primitive.
See Also: