This component aggregates basic infrastructure to be used by all components. It contains a dependency on the Logging and JMX component and provides the mechanisms for bootstrapping all other components. It also implements configuration file and properties loading scheme described in Section 4.1.3, “Application Architecture”.
Adding the Base Component
To use the base component, add the following dependency to your component or web application
module pom.xml
:
<dependency> <groupId>com.coremedia.cms</groupId> <artifactId>base-component</artifactId> <scope>runtime</scope> </dependency>
Example 4.43. Adding the Base Component
Most applications (like the Content Application Engine) need an external service like the Content Management Server to startup. In order to make such an application start up independently, the spring application context is loaded asynchronously. Incoming requests must wait until the Spring root context is initialized.
This behavior can be disabled at runtime by configuring
com.coremedia.springframework.web.context.disableAsynchronousLoading=true
by either setting a servlet context init param, a servlet config init param, or any other property source known to the Standard Servlet Environment .