1.3.1.5. Configuration loading sequence

The Kernel startup follows a well-defined sequence to load configuration files. The objects are initialized in the container only after the whole loading sequence is done. Hence, by placing your configuration in the upper location of the sequence, you can override a component declaration by yourself. You will typically do this when you want to provide your own implementation of a component, or declare custom init-params.

Note

The external-component-plugins declarations are additive, so it is NOT possible to override them.

Configurations for the RootContainer are loaded first, and then for the PortalContainers.

Note

  • $exo.conf.dir is a system property which points to the folder containing external configuration files on the file system. It is passed to the JVM in the startup script like -Dexo.conf.dir=gatein.

  • $PORTAL is the name of the portal container. By default, the name "portal" is unique.

Copyright ©2012. All rights reserved. eXo Platform SAS