KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > codehaus > loom > components > validator > NoopConfigurationValidator


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.validator;
9
10 import org.codehaus.dna.ConfigurationException;
11 import org.codehaus.loom.components.util.profile.ComponentProfile;
12 import org.codehaus.loom.interfaces.ConfigurationValidator;
13
14 /**
15  * A ConfigurationValidator that always says everything is okay
16  *
17  * @author <a HREF="mailto:proyal@apache.org">Peter Royal</a>
18  */

19 public class NoopConfigurationValidator
20     implements ConfigurationValidator
21 {
22     public boolean isValid( ComponentProfile component,
23                             ClassLoader JavaDoc classLoader )
24         throws ConfigurationException
25     {
26         return true;
27     }
28 }
29
Popular Tags