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

java.lang.Object
  extended by org.camunda.bpm.container.impl.jmx.kernel.MBeanDeploymentOperationStep
      extended by org.camunda.bpm.container.impl.jmx.deployment.AbstractParseBpmPlatformXmlStep
Direct Known Subclasses:
TomcatParseBpmPlatformXmlStep

public abstract class AbstractParseBpmPlatformXmlStep
extends MBeanDeploymentOperationStep

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
           
protected  Logger LOGGER
           
 
Constructor Summary
AbstractParseBpmPlatformXmlStep()
           
 
Method Summary
protected  String autoCompleteUrl(String url)
           
protected  URL checkValidBpmPlatformXmlResourceLocation(String url)
           
protected  URL checkValidFileLocation(String url)
           
protected  URL checkValidUrlLocation(String url)
           
protected abstract  URL getBpmPlatformXmlStream(MBeanDeploymentOperation operationContext)
           
 String getName()
           
protected  URL lookupBpmPlatformXml()
           
protected  URL lookupBpmPlatformXmlFromClassPath()
           
protected  URL lookupBpmPlatformXmlFromClassPath(String resourceLocation)
           
protected  URL lookupBpmPlatformXmlLocationFromEnvironmentVariable()
           
protected  URL lookupBpmPlatformXmlLocationFromJndi()
           
 void performOperationStep(MBeanDeploymentOperation operationContext)
           
 
Methods inherited from class org.camunda.bpm.container.impl.jmx.kernel.MBeanDeploymentOperationStep
cancelOperationStep
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOGGER

protected final Logger LOGGER

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 MBeanDeploymentOperationStep

performOperationStep

public void performOperationStep(MBeanDeploymentOperation operationContext)
Specified by:
performOperationStep in class MBeanDeploymentOperationStep

checkValidBpmPlatformXmlResourceLocation

protected URL checkValidBpmPlatformXmlResourceLocation(String url)

autoCompleteUrl

protected String autoCompleteUrl(String url)

checkValidUrlLocation

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

checkValidFileLocation

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

lookupBpmPlatformXmlLocationFromJndi

protected URL lookupBpmPlatformXmlLocationFromJndi()

lookupBpmPlatformXmlLocationFromEnvironmentVariable

protected URL lookupBpmPlatformXmlLocationFromEnvironmentVariable()

lookupBpmPlatformXmlFromClassPath

protected URL lookupBpmPlatformXmlFromClassPath(String resourceLocation)

lookupBpmPlatformXmlFromClassPath

protected URL lookupBpmPlatformXmlFromClassPath()

lookupBpmPlatformXml

protected URL lookupBpmPlatformXml()

getBpmPlatformXmlStream

protected abstract URL getBpmPlatformXmlStream(MBeanDeploymentOperation operationContext)


Copyright © 2014 camunda services GmbH. All Rights Reserved.