public class ArrayEntryPointResolver extends AbstractArgumentEntryPointResolver
public Object eat(Fruit[] fruit)
This resolver will NOT resolve method entry points such as -
public Object eat(Fruit[] fruit, Banana banana)
If you require to mix an array type with complex types you need to specify an inbound transformer that return a
multi-dimensional array of arguments i.e.
new Object[]{new Fruit[]{new Apple(), new Orange()}, new Banana()};
filter
Constructor and Description |
---|
ArrayEntryPointResolver() |
Modifier and Type | Method and Description |
---|---|
protected Class<?>[] |
getMethodArgumentTypes(Object[] payload) |
protected Object[] |
getPayloadFromMessage(MuleEventContext context) |
addMethod, getMethods, invoke, isEnableDiscovery, removeMethod, setEnableDiscovery, setMethods, toString
addIgnoredMethod, getIgnoredMethods, removeIgnoredMethod, setIgnoredMethods
addMethodByArguments, addMethodByName, getCacheKeyForPayload, getMethodByArguments, getMethodByName, getMethodCache, invokeMethod, isAcceptVoidMethods, isSynchronizeCall, setAcceptVoidMethods, setSynchronizeCall
protected Class<?>[] getMethodArgumentTypes(Object[] payload)
getMethodArgumentTypes
in class AbstractArgumentEntryPointResolver
protected Object[] getPayloadFromMessage(MuleEventContext context) throws TransformerException
getPayloadFromMessage
in class AbstractEntryPointResolver
TransformerException
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.