01: package org.compass.spring;
02:
03: import org.compass.core.config.CompassConfiguration;
04: import org.compass.core.config.ConfigurationException;
05:
06: /**
07: * Optional {@link org.compass.spring.LocalCompassBean} post processor
08: * allowing to add additional configuration settings / mappings.
09: *
10: * @author kimchy
11: */
12: public interface LocalCompassBeanPostProcessor {
13:
14: /**
15: * Process the {@link org.compass.core.config.CompassConfiguration} allowing
16: * to add additional configuration settings / mappings before the
17: * {@link org.compass.spring.LocalCompassBean} creates the {@link org.compass.core.Compass}
18: * instance.
19: *
20: * @param config The Compass configuration that will be used to creat the Compass instance
21: * @throws ConfigurationException
22: */
23: void process(CompassConfiguration config)
24: throws ConfigurationException;
25: }
|