Galder Zamarreño commented on ISPN-509:
Right, for EDG deployments this would be hard to do, but other workarounds might work for
them instead, such as module lifecycle callbacks, which allows code to be executed on
startup. This could be used to plug listeners too without having to rely on XML plugged
listeners. Besides, this gives you a more flexible solution cos you can do things to the
listener before plugin it, including providing non-empty constructors and hence immutable
This opens up a bigger question, which is how EDG is plugged with user provided code. I
suppose it'd have to be added as an AS7 module or something along the lines? Remember
that such code would need to be available on startup so that cachemanager+caches can be
started, and so don't think this can go into a WAR deployment or similar.
Plug listeners via XML
Issue Type: Feature Request
Components: Cache Server
Reporter: Galder Zamarreño
Assignee: Galder Zamarreño
Fix For: 5.1.0.BETA1, 5.1.0.FINAL
This would allow Hot Rod servers to be plugged with listeners in an easier way (otherwise
you'd have to think of passing some kind of command line parameters with listeners
which is not right).
Alternatively, if someone wanted to hook listeners to Hot Rod, they'd to write some
code to programatically start a Hot Rod server and associate the listener.
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira