org.camunda.bpm.application.impl
Class ServletProcessApplicationDeployer

java.lang.Object
  extended by org.camunda.bpm.application.impl.ServletProcessApplicationDeployer
All Implemented Interfaces:
javax.servlet.ServletContainerInitializer

public class ServletProcessApplicationDeployer
extends Object
implements javax.servlet.ServletContainerInitializer

This class is an implementation of ServletContainerInitializer and is notified whenever a subclass of ServletProcessApplication annotated with the ProcessApplication annotation is deployed. In such an event, we automatically add the class as ServletContextListener to the ServletContext.

NOTE: Only works with Servlet 3.0 or better.

Author:
Daniel Meyer

Constructor Summary
ServletProcessApplicationDeployer()
           
 
Method Summary
 void onStartup(Set<Class<?>> c, javax.servlet.ServletContext ctx)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServletProcessApplicationDeployer

public ServletProcessApplicationDeployer()
Method Detail

onStartup

public void onStartup(Set<Class<?>> c,
                      javax.servlet.ServletContext ctx)
               throws javax.servlet.ServletException
Specified by:
onStartup in interface javax.servlet.ServletContainerInitializer
Throws:
javax.servlet.ServletException


Copyright © 2017 camunda services GmbH. All rights reserved.