|
Apache Tuscany SCA Kernel Sub-Project | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Mediator
This interface will be used as a Tuscany system service to perform data mediations Mediate the data from one type to the other one
Method Summary | |
---|---|
Object |
mediate(Object source,
DataType sourceDataType,
DataType targetDataType,
Map<Class<?>,Object> context)
Mediate the data from the source type to the target type |
void |
mediate(Object source,
Object target,
DataType sourceDataType,
DataType targetDataType,
Map<Class<?>,Object> context)
Mediate the source data into the target which is a sink to receive the data |
Method Detail |
---|
Object mediate(Object source, DataType sourceDataType, DataType targetDataType, Map<Class<?>,Object> context)
source
- The data to be mediatedsourceDataType
- Data type for the source datatargetDataType
- Data type for the target datacontext
-
void mediate(Object source, Object target, DataType sourceDataType, DataType targetDataType, Map<Class<?>,Object> context)
source
- The data to be mediatedtarget
- The sink to receive datasourceDataType
- Data type for the source datatargetDataType
- Data type for the target data
|
Apache Tuscany SCA Kernel Sub-Project | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |