Class ApplicationConfiguration
java.lang.Object
org.wso2.carbon.application.deployer.config.ApplicationConfiguration
This is the runtime representation of the entire app configuration.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionApplicationConfiguration(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
Modifier and TypeMethodDescription
-
Field Details
-
ARTIFACTS_XML
- See Also:
-
FEATURE_POSTFIX
- See Also:
-
APPLICATION_NS
- See Also:
-
-
Constructor Details
-
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
-
-
Method Details
-
getAppName
-
getAppVersion
-
getApplicationArtifact
-
getAppNameWithVersion
-