Previously, I pointed out that you could wire your ApplicationAdapter into your service beans from the spring context configuration file. Another solution through code would be to issue the following code:
IContext context = scope.getContext();
ApplicationContext appCtx = context.getApplicationContext();
Application app = (Application) appCtx.getBean(”web.handler”);
at that point you could setup your listener methods. For the previous tip, visit here
Nice post you said, keep updating your site, that’s great.