Class BeanMethodAction

  • All Implemented Interfaces:
    Executable

    public class BeanMethodAction
    extends AbstractAction
    The BeanMethodAction that invoking method in the bean instance.

    Created: 2008. 03. 22 PM 5:50:35

    • Constructor Detail

      • BeanMethodAction

        public BeanMethodAction​(BeanMethodActionRule beanMethodActionRule,
                                ActionList parent)
        Instantiates a new BeanMethodAction.
        Parameters:
        beanMethodActionRule - the bean method action rule
        parent - the parent
    • Method Detail

      • getAspectAdviceRule

        public AspectAdviceRule getAspectAdviceRule()
        Gets the aspect advice rule.
        Returns:
        the aspect advice rule
      • setAspectAdviceRule

        public void setAspectAdviceRule​(AspectAdviceRule aspectAdviceRule)
        Sets the aspect advice rule.
        Parameters:
        aspectAdviceRule - the new aspect advice rule
      • execute

        public java.lang.Object execute​(Activity activity)
                                 throws java.lang.Exception
        Description copied from interface: Executable
        Execute this action.
        Parameters:
        activity - the activity
        Returns:
        the result of action execution
        Throws:
        java.lang.Exception - the exception
        ActionExecutionException - the action execution exception
      • getBeanMethodActionRule

        public BeanMethodActionRule getBeanMethodActionRule()
        Returns the bean method action rule.
        Returns:
        the bean method action rule
      • isHidden

        public boolean isHidden()
        Description copied from interface: Executable
        Returns whether this action is hidden.
        Returns:
        true, if is hidden action
      • getActionType

        public ActionType getActionType()
        Description copied from interface: Executable
        Gets the Action Type.
        Returns:
        the Action Type
      • getActionRule

        public <T> T getActionRule()
        Description copied from interface: Executable
        Gets the action rule.
        Type Parameters:
        T - the generic type
        Returns:
        the action rule
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object