Package org.bgerp.action.util
Class Invoker
java.lang.Object
org.bgerp.action.util.Invoker
Action method invoker.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic final Invoker
Finds invoker method for a class using different signatures.invoke
(BaseAction action, org.apache.struts.action.ActionMapping mapping, DynActionForm actionForm, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, ConnectionSet conSet)
-
Field Details
-
TYPES_CONSET_DYNFORM
-
TYPES_CON_DYNFORM
-
method
-
-
Method Details
-
invoke
public Object invoke(BaseAction action, org.apache.struts.action.ActionMapping mapping, DynActionForm actionForm, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, ConnectionSet conSet) throws IllegalArgumentException, IllegalAccessException, InvocationTargetException -
find
public static final Invoker find(Class<?> clazz, String method, boolean checkDeprecatedSignatures) throws NoSuchMethodException Finds invoker method for a class using different signatures.- Parameters:
clazz
- the class.method
- method name.checkDeprecatedSignatures
- check deprecated method signatures.- Returns:
- not null instance.
- Throws:
NoSuchMethodException
- invoker wasn't found.
-