Class EventsHandlersSampleApplication


  • @SpringBootApplication
    public class EventsHandlersSampleApplication
    extends Object
    • Constructor Detail

      • EventsHandlersSampleApplication

        public EventsHandlersSampleApplication()
    • Method Detail

      • main

        public static void main​(String[] args)
      • firstCustomNodeCreatedEventHandler

        @Bean
        @Order(10)
        public org.alfresco.event.sdk.handling.handler.OnNodeCreatedEventHandler firstCustomNodeCreatedEventHandler()
        This event handler definition illustrates how you can use Spring's Order annotation to sort the execution of event handlers.
      • secondCustomNodeCreatedEventHandler

        @Bean
        @Order(20)
        public org.alfresco.event.sdk.handling.handler.OnNodeCreatedEventHandler secondCustomNodeCreatedEventHandler()
        This event handler definition illustrates how you can use Spring's Order annotation to sort the execution of event handlers.