org.jbpm.web
Class JbpmConfigurationCloser

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

public class JbpmConfigurationCloser
extends java.lang.Object
implements javax.servlet.ServletContextListener

Closes the jBPM configuration on servlet context destruction.

Configuration

Servlet context init parameters
Name Description Default value
jbpm.configuration.resource name of the resource that defines 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 © 2009 JBoss, a division of Red Hat. All Rights Reserved.