I need to do some processing after a comment is succesfully committed. I have implemented Comment support in my content type, https://community.jivesoftware.com/docs/DOC-4964
I am just not sure howto to implement the code to support the CommentEvent in my plugin. I know that once a comment is successfullly committed, a CommentEvent.Type.ADDED CommentEvent is fired. I just need for my plugin to
capture this event so I can do my procesing. Has anyone else done this?
I found my answer.
1. Create a class that implements EventListener<CommentEvent>
2. Add to Spring.xml
The system will inject the listener and register it.