The ComponentManager
provides a layer of abstraction on top of the component framework that
will be used by Jetspeed-2. This provides a flexible architecture where the component framework used can
easily be "swapped". By default Jetspeed-2 uses the spring
framework.
The ComponentManager
delegates the initialization of the component framework engine
to an implementation specific to the component framework as illustrated below. The SpringComponentManager
is responsible for initializing the spring engine and calls to spring components within the Jetspeed-2 engines are wrapped
behind generic methods such as getComponent()
.