org.eclnt.jsfserver.util

## Interface IMethodBindingListener

-     public interface IMethodBindingListener

  Listener that is notified when an action listener is called. There are two ways of using this listener:
  (1) The listener is registered in the HttpSessionContext => use `HttpSessionAccess` to register/unregister. As consequence there is one central listener, that is independent from the page that is currently processed.
  (2) The listener may be implemented by the object that is receiving an action event. In this case the corresponding methods will be called automatically.
  This is similar to the interface `IPropertyResolverAware`, that passed information about setting properties. Now with this interface, information about the calling of action listeners is passed.
  This interface was updated with CaptainCasa Release 3.0 - as consequence of CaptainCasa now using JSF 1.2. The formerly used MethodBinding objects were replaced by String objects.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `reactOnActionListenerInvokeAfter(java.lang.String expressionString, ActionEvent event)`
    `boolean` | `reactOnActionListenerInvokeBefore(java.lang.String expressionString, ActionEvent event)`

- - ### Method Detail

    - #### reactOnActionListenerInvokeBefore

          boolean reactOnActionListenerInvokeBefore(java.lang.String expressionString,
                                                    ActionEvent event)

      Returns:
        true ==> continue normal method processing, false ==> do not execute method

    - #### reactOnActionListenerInvokeAfter

          void reactOnActionListenerInvokeAfter(java.lang.String expressionString,
                                                ActionEvent event)

Copyright © CaptainCasa Gmbh. All Rights Reserved.