org.jbpm.web
Class JbpmConfigurationCloser

java.lang.Object
  extended by org.jbpm.web.JbpmConfigurationCloser
All Implemented Interfaces:
EventListener, javax.servlet.ServletContextListener

public class JbpmConfigurationCloser
extends Object
implements javax.servlet.ServletContextListener

Closes the jBPM configuration on servlet context destruction.

Servlet context parameters

Name Description Default value
jbpm.configuration.resource classpath resource containing the jBPM configuration jbpm.cfg.xml

Author:
Alejandro Guizar

Constructor Summary
JbpmConfigurationCloser()
           
 
Method Summary
 void contextDestroyed(javax.servlet.ServletContextEvent event)
           
 void contextInitialized(javax.servlet.ServletContextEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JbpmConfigurationCloser

public JbpmConfigurationCloser()
Method Detail

contextInitialized

public void contextInitialized(javax.servlet.ServletContextEvent event)
Specified by:
contextInitialized in interface javax.servlet.ServletContextListener

contextDestroyed

public void contextDestroyed(javax.servlet.ServletContextEvent event)
Specified by:
contextDestroyed in interface javax.servlet.ServletContextListener


Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.