public abstract class AbstractEntryPointResolver extends Object implements EntryPointResolver
EntryPointResolver
. It provides parameters for
detemining if the payload of the message should be transformed first and whether void methods are
acceptible. It also provides a method cashe for those resolvers that use reflection to discover methods
on the service.Constructor and Description |
---|
AbstractEntryPointResolver() |
Modifier and Type | Method and Description |
---|---|
protected Method |
addMethodByArguments(Object component,
Method method,
Object[] payload) |
protected Method |
addMethodByName(Object component,
Method method,
MuleEventContext context) |
protected String |
getCacheKeyForPayload(Object component,
Object[] payload) |
protected Method |
getMethodByArguments(Object component,
Object[] payload) |
protected Method |
getMethodByName(Object component,
String methodName,
MuleEventContext context) |
protected ConcurrentHashMap<String,Method> |
getMethodCache(Object component) |
protected Object[] |
getPayloadFromMessage(MuleEventContext context) |
protected InvocationResult |
invokeMethod(Object component,
Method method,
Object[] arguments) |
boolean |
isAcceptVoidMethods() |
boolean |
isSynchronizeCall() |
void |
setAcceptVoidMethods(boolean acceptVoidMethods) |
void |
setSynchronizeCall(boolean synchronizeCall) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
invoke
public boolean isAcceptVoidMethods()
public void setAcceptVoidMethods(boolean acceptVoidMethods)
protected ConcurrentHashMap<String,Method> getMethodCache(Object component)
protected Method getMethodByName(Object component, String methodName, MuleEventContext context)
protected Method addMethodByName(Object component, Method method, MuleEventContext context)
protected Method addMethodByArguments(Object component, Method method, Object[] payload)
protected Object[] getPayloadFromMessage(MuleEventContext context) throws TransformerException
TransformerException
protected InvocationResult invokeMethod(Object component, Method method, Object[] arguments) throws InvocationTargetException, IllegalAccessException
public boolean isSynchronizeCall()
public void setSynchronizeCall(boolean synchronizeCall)
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.