| The Configurator interface defines methods for looking up
Configurations and for configuring Configurable instances.
call sequence:
1. The application obtains a Configurator instance (typically from a
Factory).
2. The application uses the Configurator to configure Configurable
instances.
The Configurator must lookup the proper Configuration and invoke
the configure method on the Configurable instance.
// 1. obtain Configurator
Configurator configurator = OjbConfigurator.getInstance();
// 2. ask Configurator to configure the Configurable instance
Configurable obj = ...
configurator.configure(obj);
author: Thomas Mahler version: $Id: Configurator.java,v 1.5.2.1 2005/12/21 22:28:15 tomdz Exp $ |