KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > codehaus > loom > components > configuration > NoopConfigurationInterceptor


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.components.configuration;
9
10 import org.codehaus.dna.Configuration;
11 import org.codehaus.dna.ConfigurationException;
12 import org.codehaus.loom.interfaces.ConfigurationInterceptor;
13
14 /**
15  * Interceptor that does not make any changes to configuration.
16  *
17  * @author Peter Donald
18  */

19 public class NoopConfigurationInterceptor
20     implements ConfigurationInterceptor
21 {
22     public Configuration processConfiguration( final String JavaDoc application,
23                                                final String JavaDoc block,
24                                                final Configuration configuration )
25         throws ConfigurationException
26     {
27         return configuration;
28     }
29 }
30
Popular Tags