|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mule.impl.model.resolvers.EntryPoint
public class 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(Method method)
Creates a new EntryPoint with the given method |
Method Summary | |
---|---|
protected Method |
getMethod()
|
String |
getName()
Gets the method name |
Class |
getParameterType()
Gets the argument type for the method |
Class |
getReturnType()
Gets the method return type of the method |
Object |
invoke(Object component,
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(Method method)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final Log logger
Constructor Detail |
---|
public EntryPoint(Method method)
method
- the method to invoke on the componentMethod Detail |
---|
public Object invoke(Object component, Object arg) throws InvocationTargetException, IllegalAccessException
component
- the component to invokearg
- the argument to pass to the method invocation
InvocationTargetException
IllegalAccessException
public boolean isVoid()
EntryPoint
is avoid method or not
public String getName()
public Class getParameterType()
public Class getReturnType()
protected void setMethod(Method method)
protected Method getMethod()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |