D
- the type of binding datapublic interface ContextMapper<D extends BindingData>
Modifier and Type | Method and Description |
---|---|
org.switchyard.config.model.composer.ContextMapperModel |
getModel()
Gets the model.
|
void |
mapFrom(D source,
Context context)
Maps a source object's properties to the context.
|
void |
mapTo(Context context,
D target)
Maps a context's properties into a target object.
|
void |
setModel(org.switchyard.config.model.composer.ContextMapperModel model)
Sets the model.
|
org.switchyard.config.model.composer.ContextMapperModel getModel()
void setModel(org.switchyard.config.model.composer.ContextMapperModel model)
model
- the modelvoid mapFrom(D source, Context context) throws Exception
source
- the object to map fromcontext
- the context to map toException
- if there was a problemCopyright © 2013–2021 JBoss by Red Hat. All rights reserved.