Class SpringEmbeddedCamundaRestServer

  • All Implemented Interfaces:
    org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean

    public class SpringEmbeddedCamundaRestServer
    extends de.cronn.camunda.testserver.EmbeddedCamundaRestServer
    implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void afterPropertiesSet()  
      void destroy()  
      • Methods inherited from class de.cronn.camunda.testserver.EmbeddedCamundaRestServer

        deployBpmnClasspathFiles, getPort, getProcessEngine, start, stop
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SpringEmbeddedCamundaRestServer

        public SpringEmbeddedCamundaRestServer​(@Value("${camunda.embedded.server.port:0}")
                                               int port,
                                               @Value("${camunda.embedded.bpmnFiles:}")
                                               java.lang.String... bpmnClasspathFilesToDeploy)
    • Method Detail

      • destroy

        public void destroy()
                     throws java.lang.Exception
        Specified by:
        destroy in interface org.springframework.beans.factory.DisposableBean
        Throws:
        java.lang.Exception
      • afterPropertiesSet

        public void afterPropertiesSet()
                                throws java.lang.Exception
        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
        Throws:
        java.lang.Exception