org.mule.impl.model.resolvers
Class AnnotatedEntryPointResolver
java.lang.Object
org.mule.model.resolvers.AbstractEntryPointResolver
org.mule.impl.model.resolvers.AnnotatedEntryPointResolver
- All Implemented Interfaces:
- MuleContextAware, EntryPointResolver
public class AnnotatedEntryPointResolver
- extends AbstractEntryPointResolver
- implements MuleContextAware
A Mule EntryPointResolver implementation that will resolve methods on a service class
that has the Entrypoint annotation. It will transform the received message to
match the arguments on the annotated method and will honor any parameter annotations such as XPath
or Mule annotations.
| Methods inherited from class org.mule.model.resolvers.AbstractEntryPointResolver |
addMethodByArguments, addMethodByName, getCacheKeyForPayload, getMethodByArguments, getMethodByName, getPayloadFromMessage, invokeMethod, isAcceptVoidMethods, isSynchronizeCall, isTransformFirst, setAcceptVoidMethods, setSynchronizeCall, setTransformFirst |
muleContext
protected MuleContext muleContext
AnnotatedEntryPointResolver
public AnnotatedEntryPointResolver()
setMuleContext
public void setMuleContext(MuleContext muleContext)
- Specified by:
setMuleContext in interface MuleContextAware
invoke
public InvocationResult invoke(Object component,
MuleEventContext context)
throws Exception
- Specified by:
invoke in interface EntryPointResolver
- Throws:
Exception
getPayloadForMethod
protected Object[] getPayloadForMethod(Method method,
Object component,
MuleEventContext context)
throws TransformerException,
InitialisationException
- Throws:
TransformerException
InitialisationException
getPayloadFromMessageWithAnnotations
protected Object[] getPayloadFromMessageWithAnnotations(Method method,
MuleEventContext context)
throws TransformerException,
InitialisationException
- Throws:
TransformerException
InitialisationException
toString
public String toString()
- Overrides:
toString in class AbstractEntryPointResolver
initCache
protected void initCache(Object component,
MuleEventContext context)
getMethodByName
protected Method getMethodByName(String name,
Object object)
Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.