org.jbpm.web
Class JobExecutorLauncher

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

public class JobExecutorLauncher
extends Object
implements javax.servlet.ServletContextListener

Starts the job executor on initialization and stops it on 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
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 © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.