org.wso2.carbon.application.deployer.config
Class ApplicationConfiguration
java.lang.Object
org.wso2.carbon.application.deployer.config.ApplicationConfiguration
public class ApplicationConfiguration
- extends Object
This is the runtime representation of the entire app configuration.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ARTIFACTS_XML
public static final String ARTIFACTS_XML
- See Also:
- Constant Field Values
FEATURE_POSTFIX
public static final String FEATURE_POSTFIX
- See Also:
- Constant Field Values
APPLICATION_NS
public static final String APPLICATION_NS
- See Also:
- Constant Field Values
ApplicationConfiguration
public ApplicationConfiguration(CarbonAppPersistenceManager capm,
String appXmlPath)
throws org.wso2.carbon.CarbonException
- Constructor builds the cApp configuration by reading the artifacts.xml file from the
provided path.
- Parameters:
capm - - persistance managerappXmlPath - - absolute path to artifacts.xml file
- Throws:
org.wso2.carbon.CarbonException - - error while reading artifacts.xml
ApplicationConfiguration
public ApplicationConfiguration(CarbonAppPersistenceManager capm,
InputStream xmlInputStream)
throws org.wso2.carbon.CarbonException
- Constructor builds the cApp configuration by reading the artifacts.xml file from the
provided xml input stream.
- Parameters:
capm - - persistance managerxmlInputStream - - input stream of the artifacts.xml
- Throws:
org.wso2.carbon.CarbonException - - error while reading artifacts.xml
getAppName
public String getAppName()
getAppVersion
public String getAppVersion()
getApplicationArtifact
public Artifact getApplicationArtifact()
getAppNameWithVersion
public String getAppNameWithVersion()
Copyright © 2014 WSO2 Inc. All rights reserved.