if (context.equals(event.getSource()) && Lifecycle.START_EVENT.equals(event.getType())) {
/** * Return the Lifecycle on which this event occurred. */ public Lifecycle getLifecycle() { return (Lifecycle) getSource(); }
/** * @return the Lifecycle on which this event occurred. */ public Lifecycle getLifecycle() { return (Lifecycle) getSource(); }
/** * Return the Lifecycle on which this event occurred. */ public Lifecycle getLifecycle() { return (Lifecycle) getSource(); }
/** * Return the Lifecycle on which this event occurred. */ public Lifecycle getLifecycle() { return (Lifecycle) getSource(); }
protected void deployBpmPlatform(LifecycleEvent event) { final StandardServer server = (StandardServer) event.getSource(); containerDelegate.getServiceContainer().createDeploymentOperation("deploy BPM platform") .addAttachment(TomcatAttachments.SERVER, server) .addStep(new TomcatParseBpmPlatformXmlStep()) .addStep(new DiscoverBpmPlatformPluginsStep()) .addStep(new StartManagedThreadPoolStep()) .addStep(new StartJobExecutorStep()) .addStep(new PlatformXmlStartProcessEnginesStep()) .execute(); LOG.camundaBpmPlatformSuccessfullyStarted(server.getServerInfo()); }
protected void deployBpmPlatform(LifecycleEvent event) { final StandardServer server = (StandardServer) event.getSource(); containerDelegate.getServiceContainer().createDeploymentOperation("deploy BPM platform") .addAttachment(TomcatAttachments.SERVER, server) .addStep(new TomcatParseBpmPlatformXmlStep()) .addStep(new DiscoverBpmPlatformPluginsStep()) .addStep(new StartManagedThreadPoolStep()) .addStep(new StartJobExecutorStep()) .addStep(new PlatformXmlStartProcessEnginesStep()) .execute(); LOG.camundaBpmPlatformSuccessfullyStarted(server.getServerInfo()); }
protected void undeployBpmPlatform(LifecycleEvent event) { final StandardServer server = (StandardServer) event.getSource(); containerDelegate.getServiceContainer().createUndeploymentOperation("undeploy BPM platform") .addAttachment(TomcatAttachments.SERVER, server) .addStep(new StopJobExecutorStep()) .addStep(new StopManagedThreadPoolStep()) .addStep(new StopProcessApplicationsStep()) .addStep(new StopProcessEnginesStep()) .addStep(new UnregisterBpmPlatformPluginsStep()) .execute(); LOG.camundaBpmPlatformStopped(server.getServerInfo()); }
protected void undeployBpmPlatform(LifecycleEvent event) { final StandardServer server = (StandardServer) event.getSource(); containerDelegate.getServiceContainer().createUndeploymentOperation("undeploy BPM platform") .addAttachment(TomcatAttachments.SERVER, server) .addStep(new StopJobExecutorStep()) .addStep(new StopManagedThreadPoolStep()) .addStep(new StopProcessApplicationsStep()) .addStep(new StopProcessEnginesStep()) .addStep(new UnregisterBpmPlatformPluginsStep()) .execute(); LOG.camundaBpmPlatformStopped(server.getServerInfo()); }
@Override public void lifecycleEvent(LifecycleEvent event) { if (event.getType().equals(Lifecycle.AFTER_START_EVENT)) { if (event.getSource() instanceof Context) { Context context = ((Context) event.getSource()); childClassLoaders.put(context.getLoader().getClassLoader(), context.getServletContext().getContextPath()); } } } }
@Override public void lifecycleEvent(LifecycleEvent event) { if (event.getType().equals(Lifecycle.AFTER_START_EVENT)) { if (event.getSource() instanceof Context) { Context context = ((Context) event.getSource()); childClassLoaders.put(context.getLoader().getClassLoader(), context.getServletContext().getContextPath()); } } } }
@Override public void lifecycleEvent(LifecycleEvent event) { if (event.getType().equals(Lifecycle.AFTER_START_EVENT)) { if (event.getSource() instanceof Context) { Context context = ((Context) event.getSource()); childClassLoaders.put(context.getLoader().getClassLoader(), context.getServletContext().getContextPath()); } } } }
@Override public void lifecycleEvent(LifecycleEvent event) { if (event.getType().equals(Lifecycle.AFTER_START_EVENT)) { if (event.getSource() instanceof Context) { Context context = ((Context) event.getSource()); childClassLoaders.put(context.getLoader().getClassLoader(), context.getServletContext().getContextPath()); } } } }
@Override public void lifecycleEvent(LifecycleEvent event) { if (event.getType().equals(Lifecycle.AFTER_START_EVENT)) { if (event.getSource() instanceof Context) { Context context = ((Context) event.getSource()); childClassLoaders.put(context.getLoader().getClassLoader(), context.getServletContext().getContextPath()); } } } }
@Override public void lifecycleEvent(LifecycleEvent event) { if (event.getType().equals(Lifecycle.AFTER_START_EVENT)) { if (event.getSource() instanceof Context) { Context context = ((Context) event.getSource()); childClassLoaders.put(context.getLoader().getClassLoader(), context.getServletContext().getContextPath()); } } } }
@Override public void lifecycleEvent(LifecycleEvent event) { Object source = event.getSource(); if (source instanceof StandardContext) { StandardContext context = (StandardContext) source; if (Lifecycle.CONFIGURE_START_EVENT.equals(event.getType())) { TomcatJndiBuilder.mergeJava(context); } } } }
@Override public void lifecycleEvent(final LifecycleEvent event) { final Object source = event.getSource(); if (source instanceof StandardContext) { final StandardContext context = (StandardContext) source; if (Lifecycle.CONFIGURE_START_EVENT.equals(event.getType())) { TomcatJndiBuilder.mergeJava(context); } } } }
protected void deployBpmPlatform(LifecycleEvent event) { final StandardServer server = (StandardServer) event.getSource(); containerDelegate.getServiceContainer().createDeploymentOperation("deploy BPM platform") .addAttachment(TomcatAttachments.SERVER, server) .addStep(new TomcatParseBpmPlatformXmlStep()) .addStep(new DiscoverBpmPlatformPluginsStep()) .addStep(new StartManagedThreadPoolStep()) .addStep(new StartJobExecutorStep()) .addStep(new PlatformXmlStartProcessEnginesStep()) .execute(); LOG.camundaBpmPlatformSuccessfullyStarted(server.getServerInfo()); }
protected void undeployBpmPlatform(LifecycleEvent event) { final StandardServer server = (StandardServer) event.getSource(); containerDelegate.getServiceContainer().createUndeploymentOperation("undeploy BPM platform") .addAttachment(TomcatAttachments.SERVER, server) .addStep(new StopJobExecutorStep()) .addStep(new StopManagedThreadPoolStep()) .addStep(new StopProcessApplicationsStep()) .addStep(new StopProcessEnginesStep()) .addStep(new UnregisterBpmPlatformPluginsStep()) .execute(); LOG.camundaBpmPlatformStopped(server.getServerInfo()); }