About
ti-core is the main subsystem in Antidoto. It provides different core functionalities:
- bootstrapping dependent subsystems
ti-core provides a very simple way to bootstrap dependent modules. The actual implementation relies on the information stored in the maven project metadata, in fact it reads the dependency configuration.
- distributed logging (log4j) configuration
Antidoto uses log4j as logging API. The problem with modularization and log4j is simply that it not possible. ti-core provides a simple way to distribute log4j configuration.
- simple startup priorisation with configurable phases for spring beans
Sometimes it is required to have some beans initialized before others. Spring offers the bdependes-on/b mechanism, but it is not suitable for all scenarios. ti-core provides a simple way to specify startup phases and configuration options to assign beans to startup phases.