| An implementation of AvalonComponentService which loads all the
components given in the TurbineResources.properties File.
For component which require the location of the application or
context root, there are two ways to get it.
-
Implement the Contextualizable interface. The full path to the
correct OS directory can be found under the ComponentAppRoot key.
-
The system property "applicationRoot" is also set to the full path
of the correct OS directory.
If you want to initialize Torque by using the AvalonComponentService, you
must activate Torque at initialization time by specifying
services.AvalonComponentService.lookup = org.apache.torque.avalon.Torque
in your TurbineResources.properties.
author: Quinton McCombs author: Henning P. Schmiedehausen version: $Id: TurbineAvalonComponentService.java 534527 2007-05-02 16:10:59Z tv $ |