Class JsrCallable

    • Field Detail

      • params

        protected final Param[] params
      • args

        protected final java.lang.Object[] args
      • idxSession

        protected int idxSession
      • idxConfig

        protected int idxConfig
    • Constructor Detail

      • JsrCallable

        public JsrCallable​(java.lang.Class<?> pojo,
                           java.lang.reflect.Method method)
      • JsrCallable

        public JsrCallable​(JsrCallable copy)
        Copy Constructor
        Parameters:
        copy - the JsrCallable to copy from
    • Method Detail

      • assertRoleRequired

        protected void assertRoleRequired​(int index,
                                          java.lang.String description)
      • findIndexForRole

        protected int findIndexForRole​(Param.Role role)
        Search the list of parameters for first one matching the role specified.
        Parameters:
        role - the role to look for
        Returns:
        the index for the role specified (or -1 if not found)
      • findParamForRole

        protected Param findParamForRole​(Param.Role role)
        Find first param for specified role.
        Parameters:
        role - the role specified
        Returns:
        the param (or null if not found)
      • getParams

        public Param[] getParams()
      • setDecodingType

        public abstract void setDecodingType​(java.lang.Class<?> decodingType)
        The Type of Class a Decoder should be created to produce.
        Parameters:
        decodingType - the type of class a Decoder should be created to produce