Class CDIResourceEventListener<T extends ResourceEvent<?>>

    • Field Detail

      • logger

        protected final org.silverpeas.kernel.logging.SilverLogger logger
    • Constructor Detail

      • CDIResourceEventListener

        public CDIResourceEventListener()
    • Method Detail

      • onEvent

        public void onEvent​(@Observes
                            T event)
                     throws Exception
        Listens for events related to a resource managed in Silverpeas.

        The event is decoded from the specified message and according to the type of the event, the adequate method is then invoked.

        Parameters:
        event - an event.
        Throws:
        Exception - if the processing of the event fails.
        See Also:
        ResourceEventListener.dispatchEvent(ResourceEvent)