org.jbpm.web
Class JobExecutorLauncher

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

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

Starts the job executor on servlet context initialization and stops it on servlet context destruction.

Configuration

Servlet context initialization parameters
Name Description Default value
jbpm.configuration.resource classpath resource containing the jBPM configuration jbpm.cfg.xml

Author:
Alejandro Guizar

Constructor Summary
JobExecutorLauncher()
           
 
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

JobExecutorLauncher

public JobExecutorLauncher()
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 © 2010 JBoss Community. All Rights Reserved.