com.ibm.wbiserverspi.mediation
Class JavaMediation
- java.lang.Object
com.ibm.wbiserverspi.mediation.JavaMediation
- public abstract class JavaMediation
- extends java.lang.Object
An Interface Mediation component will call this class to perform mediation of a particular parameter in an interface. This is used for any parameters that are mediated (for example, Java interfaces).
Field Summary
Modifier and Type | Field and Description |
---|---|
|
COPYRIGHT
|
Constructor Summary
Constructor and Description |
---|
JavaMediation()
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
getContext()
|
|
mediate(java.lang.Object parameter)
This method should mediate a particular parameter in whatever user-defined manner is needed.
|
|
setContext(com.ibm.wbiserver.relationshipservice.common.ExecutionContext arg0)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail
COPYRIGHT
- public static final java.lang.String COPYRIGHT
See Also:
Constructor Detail
JavaMediation
- public JavaMediation()
Method Detail
mediate
- public abstract java.lang.Object mediate( java.lang.Object parameter)
- throws MediateException
Parameters:
parameter
- the parameter to mediate Returns:
Object
the mediated parameter
Throws:
getContext
- public com.ibm.wbiserver.relationshipservice.common.ExecutionContext getContext( )
setContext
- public void setContext(com.ibm.wbiserver.relationshipservice.common.ExecutionContext arg0)
Sample code: