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.Modifier and Type | Field and Description |
---|---|
protected org.apache.commons.logging.Log |
logger
logger used by this class
|
protected ConcurrentHashMap |
methodCache |
Constructor and Description |
---|
AbstractEntryPointResolver() |
Modifier and Type | Method and Description |
---|---|
protected Method |
addMethodByArguments(Object component,
Method method,
Object[] payload) |
protected Method |
addMethodByName(Method method,
MuleEventContext context) |
protected String |
getCacheKeyForPayload(Object component,
Object[] payload) |
protected Method |
getMethodByArguments(Object component,
Object[] payload) |
protected Method |
getMethodByName(String methodName,
MuleEventContext context) |
protected Object[] |
getPayloadFromMessage(MuleEventContext context) |
protected InvocationResult |
invokeMethod(Object component,
Method method,
Object[] arguments) |
boolean |
isAcceptVoidMethods() |
boolean |
isTransformFirst() |
void |
setAcceptVoidMethods(boolean acceptVoidMethods) |
void |
setTransformFirst(boolean transformFirst) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
invoke
protected final transient org.apache.commons.logging.Log logger
protected final ConcurrentHashMap methodCache
public boolean isTransformFirst()
public void setTransformFirst(boolean transformFirst)
public boolean isAcceptVoidMethods()
public void setAcceptVoidMethods(boolean acceptVoidMethods)
protected Method getMethodByName(String methodName, MuleEventContext context)
protected Method addMethodByName(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
Copyright © 2003–2013 MuleSource, Inc.. All rights reserved.