//Fire shut down
this.beanManager.fireEvent(new BeforeShutdownImpl(), new Annotation[0]);
JNDIService jndiService = ServiceLoader.getService(JNDIService.class);
jndiService.unbind(WebBeansConstants.WEB_BEANS_MANAGER_JNDI_NAME);
ContextFactory.destroySingletonContext(null);
// finally free all plugin resources
PluginLoader.getInstance().shutDown();