Across core components
The following is a listing of the default components (beans) that are created by the Across context. These beans are always available and accessible in every module.
Component type | Description |
---|---|
|
Root context information of the Across context.
Gives access to the actual modules started in the context and their underlying configuration or |
|
Central registry allowing you to query to the entire |
|
The repository for accessing tracked installer information or manually manipulating the installer records. |
|
The default |
|
A service component for creating locks that use the underlying RDBMS for synchronization. This is a simple locking mechanism that can be used for distributed locks in a multi server deploy. The lock repository is also used by the installer tracking mechanism. |
|
Utility bean that can be used to verify if development mode is active, and to get development locations for resources files. |
|
The default Across |
|
Exposes the |
ConversionService
An AcrossContext requires a valid ConversionService
bean with the name conversionService to be present.
If there is none, a DefaultFormattingConversionService
will be created and exposed.
If you want to manage the ConversionService
yourself, simply create a ConversionService
bean with the right name in your application descriptor.
The default conversionService will also be attached to the ApplicationContext
environment of every module.
This means property fetching using Environment.getProperty()
methods will perform type conversion using the ConversionService
(eg. useful for date property parsing).
Apart from the ConversionService
itself, an AcrossContext
creates a default StringToDateTimeConverter
bean named defaultDateTimeConverter.
This converter supports converting a string to a corresponding date in many common date patterns.
The StringToDateTimeConverter
assumes a fixed locale that can be configured (default: US
).
If you manage the ConversionService outside of the AcrossContext the default StringToDateTimeConverter will not be registered either.
|