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).
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
Constructor and Description |
---|
JavaMediation() |
Modifier and Type | Method and Description |
---|---|
com.ibm.wbiserver.relationshipservice.common.ExecutionContext |
getContext() |
abstract java.lang.Object |
mediate(java.lang.Object parameter)
This method should mediate a particular parameter in whatever user-defined manner is needed.
|
void |
setContext(com.ibm.wbiserver.relationshipservice.common.ExecutionContext arg0) |
public static final java.lang.String COPYRIGHT
public abstract java.lang.Object mediate(java.lang.Object parameter) throws MediateException
Sample code:
public Object mediate(Object arg0) throws MediateException { String output = arg0.toString(); return output; }
parameter
- the parameter to mediateMediateException
public com.ibm.wbiserver.relationshipservice.common.ExecutionContext getContext()
public void setContext(com.ibm.wbiserver.relationshipservice.common.ExecutionContext arg0)