com.ibm.wbiserverspi.mediation
Class JavaMediationDataObject
- java.lang.Object
com.ibm.wbiserverspi.mediation.JavaMediationDataObject
- public abstract class JavaMediationDataObject
- 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 a DataObject parameter to be mediated (for example, WSDL interfaces).
Field Summary
Modifier and Type | Field and Description |
---|---|
|
COPYRIGHT
|
Constructor Summary
Constructor and Description |
---|
JavaMediationDataObject()
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
getContext()
|
|
mediate(commonj.sdo.DataObject parameter)
This method should mediate a DataObject 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
JavaMediationDataObject
- public JavaMediationDataObject( )
Method Detail
mediate
- public abstract commonj.sdo.DataObject mediate( commonj.sdo.DataObject parameter)
- throws MediateException
Parameters:
parameter
- DataObject parameter to mediate Returns:
DataObject
the mediated DataObject parameter
Throws:
getContext
- public com.ibm.wbiserver.relationshipservice.common.ExecutionContext getContext( )
setContext
- public void setContext(com.ibm.wbiserver.relationshipservice.common.ExecutionContext arg0)
If ExecutionContext is needed to call Relationship Service API, get the context with getContext().
Sample code: