|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mule.model.EntryPoint
EntryPoint
is a method on a Mule-managed component that is invoked when an event for the component is received.
Field Summary | |
protected static Log |
logger
logger used by this class |
Constructor Summary | |
EntryPoint(java.lang.reflect.Method method)
Creates a new EntryPoint with the given method |
Method Summary | |
protected java.lang.reflect.Method |
getMethod()
|
java.lang.String |
getName()
Gets the method name |
java.lang.Class |
getParameterType()
Gets the argument type for the method |
java.lang.Class |
getReturnType()
Gets the method return type of the method |
java.lang.Object |
invoke(java.lang.Object component,
java.lang.Object arg)
Will invoke the entry point method on the given component |
boolean |
isVoid()
Determines if the EntryPoint is avoid method or not |
protected void |
setMethod(java.lang.reflect.Method method)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static transient Log logger
Constructor Detail |
public EntryPoint(java.lang.reflect.Method method)
method
- the method to invoke on the componentMethod Detail |
public java.lang.Object invoke(java.lang.Object component, java.lang.Object arg) throws java.lang.reflect.InvocationTargetException, java.lang.IllegalAccessException
component
- the component to invokearg
- the argument to pass to the method invocation
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException
public boolean isVoid()
EntryPoint
is avoid method or not
public java.lang.String getName()
public java.lang.Class getParameterType()
public java.lang.Class getReturnType()
protected void setMethod(java.lang.reflect.Method method)
protected java.lang.reflect.Method getMethod()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |