org.mule.model
Class DynamicEntryPoint
java.lang.Object
org.mule.model.DynamicEntryPoint
- All Implemented Interfaces:
- UMOEntryPoint
- public class DynamicEntryPoint
- extends Object
- implements UMOEntryPoint
DynamicEntryPoint is used to detemine the entry point on a bean
after an event has been received for it. The entrypoint is then discovered using
the event payload type as the argument. An entry point will try and be matched for
different argument types so it's possible to have multiple entry points on a
single component.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected static final Log logger
- logger used by this class
ignoreMethods
protected String[] ignoreMethods
DynamicEntryPoint
public DynamicEntryPoint()
getParameterTypes
public Class[] getParameterTypes()
- Specified by:
getParameterTypes in interface UMOEntryPoint
invoke
public Object invoke(Object component,
UMOEventContext context)
throws Exception
- Specified by:
invoke in interface UMOEntryPoint
- Throws:
Exception
validateMethod
protected void validateMethod(Object component,
Method method,
String methodName)
throws Exception
- This method can be used to validate that the method exists and is allowed to
be executed.
- Parameters:
component - method - methodName -
- Throws:
Exception
getMethod
protected Method getMethod(Object component,
Object arg)
addMethod
protected void addMethod(Object component,
Method method,
Class arg)
isVoid
public boolean isVoid()
- Specified by:
isVoid in interface UMOEntryPoint
getMethodName
public String getMethodName()
- Specified by:
getMethodName in interface UMOEntryPoint
Copyright © 2003-2006 MuleSource Inc.. All Rights Reserved.