Manage beans through the Registry

WARNING - TOPIC NOT WRITTEN - TOPIC ID: 2824

This topic has not yet been written. The content below is from the topic description.
You can also manually configure and register your beans through the Registry. To do this in a WAR-based deployment, you need to write a specific ServletContextListener to do this. Within the listern, you can obtain a reference to the registry as follows: public class MyManualConfig implements ServletContextListener { public void contextInitialized(ServletContextEvent event) { Registry registry = (Registry) event.getServletContext().getAttribute(Registry.class.getName()); } ... }