public void stopApplicationScope() throws Exception
{
logger.log(Level.FINE, "stopping the OWB ApplicationContext");
WebBeansContext webBeansContext = WebBeansContext.currentInstance();
ContextsService contextsService = webBeansContext.getContextsService();
contextsService.endContext(ApplicationScoped.class, servletContext);
}
public void stopConversationScope() throws Exception
{
logger.log(Level.FINE, "stopping the OWB ConversationContext");