1.3.6. Understanding the prefixes supported by the configuration manager

The configuration manager allows you to find files using URL with special prefixes that we describe in details below.

In case you use the configuration manager in a component to get a file like the example below, it will depend on the mode and will be relative to the following directories:

//cmanager is org.exoplatform.container.configuration.ConfigurationManager instance

InputStream is = cmanager.getInputStream("war:/conf/common/locales-config.xml");

Note

For more details about the exo configuration directory please refer to the Configuration Retrieval section.

Copyright ©. All rights reserved. eXo Platform SAS
blog comments powered byDisqus