@Immutable @ThreadSafe public class InvocationResultImpl extends Object implements InvocationResult
getMapRequestAndResult(WiseMapper, Map) methodsHEADERS, RESPONSE, STATUS| Constructor and Description |
|---|
InvocationResultImpl(String name,
Type resultType,
Object value,
Map<String,Object> results) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getMappedResult(WiseMapper mapper)
Apply WiseMapper provided with to returned Object as defined in
wsdl/wiseconsume generated objects.
|
Map<String,Object> |
getMapRequestAndResult(WiseMapper mapper,
Map<String,Object> inputMap)
Apply WiseMapper provided to returned Object as defined in
wsdl/wiseconsume generated objects.
|
Map<String,Object> |
getResult()
Return a Map containing objects returned by web service invocation.
|
public Map<String,Object> getMapRequestAndResult(WiseMapper mapper, Map<String,Object> inputMap) throws MappingException
getMapRequestAndResult in interface InvocationResultmapper - a WiseMapper used to map JAX-WS generated object returned by
method call to arbitrary custom object model. It could be null
to don't apply any kind of mappingsinputMap - It's the map of input object used to give them together with
output. It's useful when they are needed by wise's client in
same classLoader used by smooks (i.e when wise is used to
enrich set of objects like in ESB action pipeline)MappingException - rethrown exception got from provided WiseMapperInvocationResult.getMapRequestAndResult(WiseMapper, Map)public Map<String,Object> getMappedResult(WiseMapper mapper) throws MappingException
getMappedResult in interface InvocationResultmapper - a WiseMapper used to map JAX-WS generated object returned by
method call to arbitrary custom object model. It could be null
to don't apply any kind of mappingsMappingException - rethrown exception got from provided WiseMapperInvocationResult.getMappedResult(org.jboss.wise.core.mapper.WiseMapper)public Map<String,Object> getResult()
getResult in interface InvocationResultInvocationResult.getResult()Copyright © 2008–2016 JBoss.org. All rights reserved.