Package org.alfresco.sdk.sample.event
Class EventsHandlersSampleApplication
- java.lang.Object
-
- org.alfresco.sdk.sample.event.EventsHandlersSampleApplication
-
@SpringBootApplication public class EventsHandlersSampleApplication extends Object
-
-
Constructor Summary
Constructors Constructor Description EventsHandlersSampleApplication()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.alfresco.event.sdk.handling.handler.OnNodeCreatedEventHandlerfirstCustomNodeCreatedEventHandler()This event handler definition illustrates how you can use Spring'sOrderannotation to sort the execution of event handlers.static voidmain(String[] args)org.alfresco.event.sdk.handling.handler.OnNodeCreatedEventHandlersecondCustomNodeCreatedEventHandler()This event handler definition illustrates how you can use Spring'sOrderannotation to sort the execution of event handlers.
-
-
-
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'sOrderannotation 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'sOrderannotation to sort the execution of event handlers.
-
-