com.xebialabs.deployit.plugin.tomcat.processor
Class ApplicationContextNameInjector

java.lang.Object
  extended by com.xebialabs.deployit.plugin.tomcat.processor.ApplicationContextNameInjector

public class ApplicationContextNameInjector
extends java.lang.Object


Field Summary
static com.xebialabs.deployit.plugin.api.reflect.Type APPLICATION_CONTEXT_TYPE
           
 
Constructor Summary
ApplicationContextNameInjector()
           
 
Method Summary
protected  java.lang.Iterable<ContextElement<?>> findAllContextElementsTargetedToApplicationContexts(java.util.List<com.xebialabs.deployit.plugin.api.deployment.specification.Delta> deltas)
           
protected static java.lang.Iterable<com.xebialabs.deployit.plugin.api.deployment.specification.Delta> findContextWarModulesTargetedToVirtualHost(java.util.List<com.xebialabs.deployit.plugin.api.deployment.specification.Delta> deltas)
           
protected  void injectContextIntoContextElementsUsingWar(com.xebialabs.deployit.plugin.api.deployment.specification.Delta warModuleDelta, java.lang.Iterable<ContextElement<?>> contextElements)
           
 java.util.List<com.xebialabs.deployit.plugin.api.deployment.execution.DeploymentStep> injectContextNameInToContextElements(com.xebialabs.deployit.plugin.api.deployment.specification.DeltaSpecification spec)
           
protected  void injectContextNameIntoContextElementsUsingWarResolution(java.lang.Iterable<com.xebialabs.deployit.plugin.api.deployment.specification.Delta> warModules, java.lang.Iterable<ContextElement<?>> contextElements)
           
protected  void validateAllContextElementsTargetedToApplicationContextHasCtxNameSet(java.lang.Iterable<ContextElement<?>> contextElements)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

APPLICATION_CONTEXT_TYPE

public static final com.xebialabs.deployit.plugin.api.reflect.Type APPLICATION_CONTEXT_TYPE
Constructor Detail

ApplicationContextNameInjector

public ApplicationContextNameInjector()
Method Detail

injectContextNameInToContextElements

public java.util.List<com.xebialabs.deployit.plugin.api.deployment.execution.DeploymentStep> injectContextNameInToContextElements(com.xebialabs.deployit.plugin.api.deployment.specification.DeltaSpecification spec)

injectContextNameIntoContextElementsUsingWarResolution

protected void injectContextNameIntoContextElementsUsingWarResolution(java.lang.Iterable<com.xebialabs.deployit.plugin.api.deployment.specification.Delta> warModules,
                                                                      java.lang.Iterable<ContextElement<?>> contextElements)

validateAllContextElementsTargetedToApplicationContextHasCtxNameSet

protected void validateAllContextElementsTargetedToApplicationContextHasCtxNameSet(java.lang.Iterable<ContextElement<?>> contextElements)

injectContextIntoContextElementsUsingWar

protected void injectContextIntoContextElementsUsingWar(com.xebialabs.deployit.plugin.api.deployment.specification.Delta warModuleDelta,
                                                        java.lang.Iterable<ContextElement<?>> contextElements)

findAllContextElementsTargetedToApplicationContexts

protected java.lang.Iterable<ContextElement<?>> findAllContextElementsTargetedToApplicationContexts(java.util.List<com.xebialabs.deployit.plugin.api.deployment.specification.Delta> deltas)

findContextWarModulesTargetedToVirtualHost

protected static java.lang.Iterable<com.xebialabs.deployit.plugin.api.deployment.specification.Delta> findContextWarModulesTargetedToVirtualHost(java.util.List<com.xebialabs.deployit.plugin.api.deployment.specification.Delta> deltas)