Package org.bgerp.action.util

# Class Invoker

java.lang.Object
org.bgerp.action.util.Invoker

public class Invoker extends Object
Action method invoker.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `protected final Method`
  `method`
  `static final Class<?>[]`
  `TYPES_CON_DYNFORM`
  `static final Class<?>[]`
  `TYPES_CONSET_DYNFORM`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static final Invoker`
  `find(Class<?> clazz, String method)`
  Finds invoker method for a class using different signatures
  `Object`
  `invoke(BaseAction action, org.apache.struts.action.ActionMapping mapping, DynActionForm actionForm, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, ConnectionSet conSet)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### TYPES_CONSET_DYNFORM

    public static final Class<?>[] TYPES_CONSET_DYNFORM

  - ### TYPES_CON_DYNFORM

    public static final Class<?>[] TYPES_CON_DYNFORM

  - ### method

    protected final Method 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
    Throws:
      `IllegalArgumentException`
      `IllegalAccessException`
      `InvocationTargetException`

  - ### find

    public static final Invoker find(Class<?> clazz, String method) throws NoSuchMethodException
    Finds invoker method for a class using different signatures
    Parameters:
      `clazz` - the class
      `method` - method name
    Returns:
      not null instance
    Throws:
      `NoSuchMethodException` - invoker wasn't found.