Supports event driven programming in Cloud Platform
All modifications in entity raises events.
Application code can register handlers/listeners to the events.
FW will call all the registered events in a order of priority.
Change Events
Key API's
Register handlers: This ties an event with a handler(business logic) . This is done by com.manh.cp.fw.entity.domain.change.ChangeEventManager#registerChangeActions
Register Change Event : Add the change event to the stack. The event keeps track of the entity that raised it and an optional priority com.manh.cp.fw.entity.domain.change.ChangeEventManager#addChangeEvent(com.manh.cp.fw.entity.domain.change.ChangeEventType, com.manh.cp.fw.entity.domain.entity.DomainEntity, int)
Change Events
Key API's
Process Change Event: Takes one item from the queue and invokes the registered handlers com.manh.cp.fw.entity.domain.change.ChangeEventManager#processChangeEvents
Change Events
Questions
Thanks You...
* OM team is hiring. We have couple of software engineering positions open. If you want contribute to OMS come talk to me.