Class BeforeControllerEventImpl

java.lang.Object
fr.paris.lutece.portal.web.cdi.mvc.event.BeforeControllerEventImpl
All Implemented Interfaces:
BeforeControllerEvent, MvcEvent

public class BeforeControllerEventImpl extends Object implements BeforeControllerEvent
Default implementation of the BeforeControllerEvent interface.

This class represents the event fired just before the MVC controller is executed. It can be extended to carry additional contextual data (e.g., request parameters, user session info) if needed by observers.

Typically fired by the EventDispatcher at the beginning of the request lifecycle.

See Also:
  • Constructor Details

    • BeforeControllerEventImpl

      public BeforeControllerEventImpl(Method invokedMethod, boolean isBackOffice, MvcEvent.ControllerInvocationType invocationType, boolean isSecurityTokenEnabled)
      Constructs a new BeforeControllerEventImpl with the given parameters.
      Parameters:
      invokedMethod - the method that will be invoked
      isBackOffice - true if the context is back-office (BO), false if front-office (FO)
      invocationType - the type of controller call (e.g., VIEW, ACTION, etc.)
  • Method Details