com.ibm.wsspi.sibx.mediation

Interface MediationServices


  1. public interface MediationServices
Provides services to a mediation primitive. Each mediation primitive has a mediation services object which provides access to the terminals defined for the primitive, the primitive name and display name. The display name is normally set by the creator of the flow, wheras the name will be the name by which the mediation primitive is known by the runtime.

Mediation primitives will primarily use the mediation services to access input and output terminals via the getter methods.


Field Summary

Modifier and Type Field and Description
  1. static
  2. java.lang.String
$sccsid
  1. static
  2. java.lang.String
COPYRIGHT

Method Summary

Modifier and Type Method and Description
  1. InputTerminal
getInputTerminal(java.lang.String name)
Gets the named input terminal for this primitive.
  1. java.util.List
getInputTerminals()
Returns an unmodifiable list of all input terminals defined for this mediation primitive.
  1. java.lang.String
getMediationDisplayName()
Gets the display name of this mediation primitive.
  1. java.lang.String
getMediationName()
Gets the name of this mediation primitive.
  1. OutputTerminal
getOutputTerminal(java.lang.String name)
Gets the named output terminal for this primitive.
  1. java.util.List
getOutputTerminals()
Returns an unmodifiable list of all output terminals defined for this mediation primitive.

Field Detail

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

$sccsid

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

Method Detail

getMediationName

  1. java.lang.String getMediationName( )
Gets the name of this mediation primitive. This name is set by the flow creation tooling.
Returns:
the name of the mediation primitive

getMediationDisplayName

  1. java.lang.String getMediationDisplayName( )
Gets the display name of this mediation primitive. This display name is normally set by the user who created the flow.
Returns:
the display name of the mediation primitive

getInputTerminal

  1. InputTerminal getInputTerminal( java.lang.String name)
  2. throws TerminalNotFoundException
Gets the named input terminal for this primitive.
Parameters:
name - the name of the input terminal
Returns:
the input terminal
Throws:
TerminalNotFoundException - if the named terminal is not defined for this mediation primitive

getOutputTerminal

  1. OutputTerminal getOutputTerminal( java.lang.String name)
  2. throws TerminalNotFoundException
Gets the named output terminal for this primitive.
Parameters:
name - the name of the output terminal
Returns:
the output terminal
Throws:
TerminalNotFoundException - if the named terminal is not defined for this mediation primitive

getInputTerminals

  1. java.util.List getInputTerminals( )
Returns an unmodifiable list of all input terminals defined for this mediation primitive.
Returns:
the list of input terminals

getOutputTerminals

  1. java.util.List getOutputTerminals( )
Returns an unmodifiable list of all output terminals defined for this mediation primitive.
Returns:
the list of output terminals