org.camunda.bpm.container.impl.deployment
Class AbstractParseBpmPlatformXmlStep

java.lang.Object
  extended by org.camunda.bpm.container.impl.spi.DeploymentOperationStep
      extended by org.camunda.bpm.container.impl.deployment.AbstractParseBpmPlatformXmlStep
Direct Known Subclasses:
TomcatParseBpmPlatformXmlStep

public abstract class AbstractParseBpmPlatformXmlStep
extends DeploymentOperationStep

Deployment operation step responsible for parsing and attaching the bpm-platform.xml file.

Author:
Daniel Meyer, Christian Lipphardt

Field Summary
static String BPM_PLATFORM_XML_ENVIRONMENT_VARIABLE
           
static String BPM_PLATFORM_XML_FILE
           
static String BPM_PLATFORM_XML_LOCATION
           
static String BPM_PLATFORM_XML_RESOURCE_LOCATION
           
static String BPM_PLATFORM_XML_SYSTEM_PROPERTY
           
 
Constructor Summary
AbstractParseBpmPlatformXmlStep()
           
 
Method Summary
 String autoCompleteUrl(String url)
           
 URL checkValidBpmPlatformXmlResourceLocation(String url)
           
 URL checkValidFileLocation(String url)
           
 URL checkValidUrlLocation(String url)
           
abstract  URL getBpmPlatformXmlStream(DeploymentOperation operationContext)
           
 String getName()
           
 URL lookupBpmPlatformXml()
           
 URL lookupBpmPlatformXmlFromClassPath()
           
 URL lookupBpmPlatformXmlFromClassPath(String resourceLocation)
           
 URL lookupBpmPlatformXmlLocationFromEnvironmentVariable()
           
 URL lookupBpmPlatformXmlLocationFromJndi()
           
 void performOperationStep(DeploymentOperation operationContext)
           
 
Methods inherited from class org.camunda.bpm.container.impl.spi.DeploymentOperationStep
cancelOperationStep
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BPM_PLATFORM_XML_FILE

public static final String BPM_PLATFORM_XML_FILE
See Also:
Constant Field Values

BPM_PLATFORM_XML_LOCATION

public static final String BPM_PLATFORM_XML_LOCATION
See Also:
Constant Field Values

BPM_PLATFORM_XML_ENVIRONMENT_VARIABLE

public static final String BPM_PLATFORM_XML_ENVIRONMENT_VARIABLE
See Also:
Constant Field Values

BPM_PLATFORM_XML_SYSTEM_PROPERTY

public static final String BPM_PLATFORM_XML_SYSTEM_PROPERTY
See Also:
Constant Field Values

BPM_PLATFORM_XML_RESOURCE_LOCATION

public static final String BPM_PLATFORM_XML_RESOURCE_LOCATION
See Also:
Constant Field Values
Constructor Detail

AbstractParseBpmPlatformXmlStep

public AbstractParseBpmPlatformXmlStep()
Method Detail

getName

public String getName()
Specified by:
getName in class DeploymentOperationStep

performOperationStep

public void performOperationStep(DeploymentOperation operationContext)
Specified by:
performOperationStep in class DeploymentOperationStep

checkValidBpmPlatformXmlResourceLocation

public URL checkValidBpmPlatformXmlResourceLocation(String url)

autoCompleteUrl

public String autoCompleteUrl(String url)

checkValidUrlLocation

public URL checkValidUrlLocation(String url)
                          throws MalformedURLException
Throws:
MalformedURLException

checkValidFileLocation

public URL checkValidFileLocation(String url)
                           throws MalformedURLException
Throws:
MalformedURLException

lookupBpmPlatformXmlLocationFromJndi

public URL lookupBpmPlatformXmlLocationFromJndi()

lookupBpmPlatformXmlLocationFromEnvironmentVariable

public URL lookupBpmPlatformXmlLocationFromEnvironmentVariable()

lookupBpmPlatformXmlFromClassPath

public URL lookupBpmPlatformXmlFromClassPath(String resourceLocation)

lookupBpmPlatformXmlFromClassPath

public URL lookupBpmPlatformXmlFromClassPath()

lookupBpmPlatformXml

public URL lookupBpmPlatformXml()

getBpmPlatformXmlStream

public abstract URL getBpmPlatformXmlStream(DeploymentOperation operationContext)


Copyright © 2017 camunda services GmbH. All rights reserved.