org.mule.model.resolvers
Class AbstractEntryPointResolver
java.lang.Object
org.mule.model.resolvers.AbstractEntryPointResolver
- All Implemented Interfaces:
- EntryPointResolver
- Direct Known Subclasses:
- AnnotatedEntryPointResolver, ExplicitMethodEntryPointResolver, MethodHeaderPropertyEntryPointResolver, ReflectionEntryPointResolver
public abstract class AbstractEntryPointResolver
- extends java.lang.Object
- implements EntryPointResolver
A Base class for 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.
Field Summary |
protected Log |
logger
logger used by this class |
protected edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap |
methodCache
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
logger
protected final transient Log logger
- logger used by this class
methodCache
protected final edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap methodCache
AbstractEntryPointResolver
public AbstractEntryPointResolver()
isAcceptVoidMethods
public boolean isAcceptVoidMethods()
setAcceptVoidMethods
public void setAcceptVoidMethods(boolean acceptVoidMethods)
getMethodByName
protected java.lang.reflect.Method getMethodByName(java.lang.String methodName,
MuleEventContext context)
addMethodByName
protected java.lang.reflect.Method addMethodByName(java.lang.reflect.Method method,
MuleEventContext context)
addMethodByArguments
protected java.lang.reflect.Method addMethodByArguments(java.lang.Object component,
java.lang.reflect.Method method,
java.lang.Object[] payload)
getMethodByArguments
protected java.lang.reflect.Method getMethodByArguments(java.lang.Object component,
java.lang.Object[] payload)
getCacheKeyForPayload
protected java.lang.String getCacheKeyForPayload(java.lang.Object component,
java.lang.Object[] payload)
getPayloadFromMessage
protected java.lang.Object[] getPayloadFromMessage(MuleEventContext context)
throws TransformerException
- Throws:
TransformerException
invokeMethod
protected InvocationResult invokeMethod(java.lang.Object component,
java.lang.reflect.Method method,
java.lang.Object[] arguments)
throws java.lang.reflect.InvocationTargetException,
java.lang.IllegalAccessException
- Throws:
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException
isSynchronizeCall
public boolean isSynchronizeCall()
setSynchronizeCall
public void setSynchronizeCall(boolean synchronizeCall)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.