1 /* 2 * Copyright (C) The Loom Group. All rights reserved. 3 * 4 * This software is published under the terms of the Loom 5 * Software License version 1.1, a copy of which has been included 6 * with this distribution in the LICENSE.txt file. 7 */ 8 package org.codehaus.loom.interfaces; 9 10 import org.codehaus.dna.Configuration; 11 import org.codehaus.dna.ConfigurationException; 12 13 /** 14 * Repository from which all configuration data is retrieved. 15 * 16 * @author Peter Donald 17 */ 18 public interface ConfigurationInterceptor 19 { 20 /** 21 * Process configuration information 22 * 23 * @param application Application name 24 * @param block Block name to store configuration for 25 * @param configuration information to store. 26 * @throws ConfigurationException if configuration could not be stored 27 */ 28 Configuration processConfiguration( String application, 29 String block, 30 Configuration configuration ) 31 throws ConfigurationException; 32 } 33