Package 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
(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
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.
(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
Modifier and TypeMethodDescriptionvoid
reactOnActionListenerInvokeAfter
(String expressionString, javax.faces.event.ActionEvent event) boolean
reactOnActionListenerInvokeBefore
(String expressionString, javax.faces.event.ActionEvent event)
-
Method Details
-
reactOnActionListenerInvokeBefore
boolean reactOnActionListenerInvokeBefore(String expressionString, javax.faces.event.ActionEvent event) - Returns:
- true ==> continue normal method processing, false ==> do not execute method
-
reactOnActionListenerInvokeAfter
-