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.
-
-
Field Summary
Fields Modifier and Type Field Description static StringAPPLICATION_NSstatic StringARTIFACTS_XMLstatic StringFEATURE_POSTFIX
-
Constructor Summary
Constructors Constructor Description ApplicationConfiguration(CarbonAppPersistenceManager capm, InputStream xmlInputStream)Constructor builds the cApp configuration by reading the artifacts.xml file from the provided xml input stream.ApplicationConfiguration(CarbonAppPersistenceManager capm, String appXmlPath)Constructor builds the cApp configuration by reading the artifacts.xml file from the provided path.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ArtifactgetApplicationArtifact()StringgetAppName()StringgetAppNameWithVersion()StringgetAppVersion()
-
-
-
Field Detail
-
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
-
-
Constructor Detail
-
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
-
-