|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.wbiserverspi.mediation.JavaMediation
public abstract class JavaMediation
This class is implemented by Java Snippets that are called by Interface Mediation components configured to mediate Java interfaces.
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 | |
---|---|
static java.lang.String |
COPYRIGHT
|
Constructor Summary | |
---|---|
JavaMediation()
|
Method Summary | |
---|---|
com.ibm.wbiserver.relationshipservice.common.ExecutionContext |
getContext()
Get execution context that is needed to call Relationship Service APIs. |
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 context)
Set execution context for java snippet to call Relationship Service APIs. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
Constructor Detail |
---|
public JavaMediation()
Method Detail |
---|
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 mediate
MediateException
public com.ibm.wbiserver.relationshipservice.common.ExecutionContext getContext()
public void setContext(com.ibm.wbiserver.relationshipservice.common.ExecutionContext context)
context
- the calling context
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |