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 Details

  • 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 manager
      appXmlPath - - 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 manager
      xmlInputStream - - input stream of the artifacts.xml
      Throws:
      org.wso2.carbon.CarbonException - - error while reading artifacts.xml
  • Method Details

    • getAppName

      public String getAppName()
    • getAppVersion

      public String getAppVersion()
    • getApplicationArtifact

      public Artifact getApplicationArtifact()
    • getAppNameWithVersion

      public String getAppNameWithVersion()