Class LegacyEventDispatcher

  • All Implemented Interfaces:
    org.xwiki.observation.EventListener

    @Component
    @Named("legacyEventDispatcher")
    @Singleton
    @Deprecated
    public class LegacyEventDispatcher
    extends Object
    implements org.xwiki.observation.EventListener
    Deprecated.
    since old events shouldn't be used anymore (they're deprecated themselves)
    An event listener that forwards received events to their corresponding legacy events. This allows deprecated events to continue to be supported.
    Version:
    $Id: 582ca6a936d24ea9f8248d2353e19a750a3cdbec $
    • Constructor Detail

      • LegacyEventDispatcher

        public LegacyEventDispatcher()
        Deprecated.
    • Method Detail

      • getName

        public String getName()
        Deprecated.
        Specified by:
        getName in interface org.xwiki.observation.EventListener
      • getEvents

        public List<org.xwiki.observation.event.Event> getEvents()
        Deprecated.
        Specified by:
        getEvents in interface org.xwiki.observation.EventListener
      • onEvent

        public void onEvent​(org.xwiki.observation.event.Event event,
                            Object source,
                            Object data)
        Deprecated.
        Specified by:
        onEvent in interface org.xwiki.observation.EventListener