cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andreasm...@apache.org
Subject svn commit: r440753 [1/3] - in /incubator/cxf/trunk: api/src/main/java/org/apache/cxf/ common/src/main/java/org/apache/cxf/configuration/ common/src/main/java/org/apache/cxf/configuration/impl/ common/src/main/java/org/apache/cxf/configuration/spring/ ...
Date Wed, 06 Sep 2006 16:11:20 GMT
Author: andreasmyth
Date: Wed Sep  6 09:11:15 2006
New Revision: 440753

URL: http://svn.apache.org/viewvc?view=rev&rev=440753
Log:
[JIRA CXF-21] Renamed org.apache.cfx.configuration and org.apache.cfx.configuration.impl packages to org.apache.cfx.oldcfg, org.apache.oldcfg.imp, so that work can start on new configuration implementation.
[JIRA-22] A default-value plugin
[JIRA-24] AbstractConfigurableBeanBase class and first cur of xjc plugin that generates classes inheriting from this base, with customised getters. 

Added:
    incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/AbstractConfigurableBeanBase.java   (with props)
    incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/Configurable.java   (with props)
    incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/ConfigurationProvider.java   (with props)
    incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/Configurer.java   (with props)
    incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/spring/
      - copied from r440332, incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/impl/
    incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/
    incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/APIMessages.properties
      - copied unchanged from r440332, incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/APIMessages.properties
    incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/AbstractCommandLineConfiguration.java
      - copied, changed from r440332, incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/AbstractCommandLineConfiguration.java
    incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/CommandLineOption.java
      - copied, changed from r440332, incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/CommandLineOption.java
    incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/CommandlineConfiguration.java
      - copied, changed from r440332, incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/CommandlineConfiguration.java
    incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/CompoundName.java
      - copied, changed from r440332, incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/CompoundName.java
    incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/Configuration.java
      - copied, changed from r440332, incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/Configuration.java
    incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/ConfigurationBuilder.java
      - copied, changed from r440332, incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/ConfigurationBuilder.java
    incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/ConfigurationException.java
      - copied, changed from r440332, incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/ConfigurationException.java
    incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/ConfigurationItemMetadata.java
      - copied, changed from r440332, incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/ConfigurationItemMetadata.java
    incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/ConfigurationMetadata.java
      - copied, changed from r440332, incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/ConfigurationMetadata.java
    incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/ConfigurationProvider.java
      - copied, changed from r440332, incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/ConfigurationProvider.java
    incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/impl/
      - copied from r440332, incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/impl/
    incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/impl/ConfigurationBuilderImpl.java
      - copied, changed from r440734, incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/impl/ConfigurationBuilderImpl.java
    incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/impl/ConfigurationImpl.java
      - copied, changed from r440734, incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/impl/ConfigurationImpl.java
    incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/impl/ConfigurationItemMetadataImpl.java
      - copied, changed from r440734, incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/impl/ConfigurationItemMetadataImpl.java
    incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/impl/ConfigurationMetadataBuilder.java
      - copied, changed from r440734, incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/impl/ConfigurationMetadataBuilder.java
    incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/impl/ConfigurationMetadataImpl.java
      - copied, changed from r440734, incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/impl/ConfigurationMetadataImpl.java
    incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/impl/ConfigurationMetadataUtils.java
      - copied, changed from r440734, incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/impl/ConfigurationMetadataUtils.java
    incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/impl/DefaultConfigurationProviderFactory.java
      - copied, changed from r440734, incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/impl/DefaultConfigurationProviderFactory.java
    incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/impl/InMemoryProvider.java
      - copied, changed from r440734, incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/impl/InMemoryProvider.java
    incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/impl/Messages.properties
      - copied unchanged from r440734, incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/impl/Messages.properties
    incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/impl/TypeSchema.java
      - copied, changed from r440734, incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/impl/TypeSchema.java
    incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/impl/TypeSchemaHelper.java
      - copied, changed from r440734, incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/impl/TypeSchemaHelper.java
    incubator/cxf/trunk/common/src/test/java/org/apache/cxf/oldcfg/
    incubator/cxf/trunk/common/src/test/java/org/apache/cxf/oldcfg/CompoundNameTest.java
      - copied, changed from r440332, incubator/cxf/trunk/common/src/test/java/org/apache/cxf/configuration/CompoundNameTest.java
    incubator/cxf/trunk/common/src/test/java/org/apache/cxf/oldcfg/impl/
    incubator/cxf/trunk/common/src/test/java/org/apache/cxf/oldcfg/impl/ConfigurationBuilderImplTest.java   (with props)
    incubator/cxf/trunk/common/src/test/java/org/apache/cxf/oldcfg/impl/TestProvider.java   (with props)
    incubator/cxf/trunk/tools/xjc/
    incubator/cxf/trunk/tools/xjc/cfg/
    incubator/cxf/trunk/tools/xjc/cfg-test/
    incubator/cxf/trunk/tools/xjc/cfg-test/.checkstyle
    incubator/cxf/trunk/tools/xjc/cfg-test/.pmd
    incubator/cxf/trunk/tools/xjc/cfg-test/.ruleset
    incubator/cxf/trunk/tools/xjc/cfg-test/pom.xml   (with props)
    incubator/cxf/trunk/tools/xjc/cfg-test/src/
    incubator/cxf/trunk/tools/xjc/cfg-test/src/test/
    incubator/cxf/trunk/tools/xjc/cfg-test/src/test/java/
    incubator/cxf/trunk/tools/xjc/cfg-test/src/test/java/org/
    incubator/cxf/trunk/tools/xjc/cfg-test/src/test/java/org/apache/
    incubator/cxf/trunk/tools/xjc/cfg-test/src/test/java/org/apache/cxf/
    incubator/cxf/trunk/tools/xjc/cfg-test/src/test/java/org/apache/cxf/xjc/
    incubator/cxf/trunk/tools/xjc/cfg-test/src/test/java/org/apache/cxf/xjc/cfg/
    incubator/cxf/trunk/tools/xjc/cfg-test/src/test/resources/
    incubator/cxf/trunk/tools/xjc/cfg-test/src/test/resources/schemas/
    incubator/cxf/trunk/tools/xjc/cfg-test/src/test/resources/schemas/configuration/
    incubator/cxf/trunk/tools/xjc/cfg-test/src/test/resources/schemas/configuration/foo.xsd   (with props)
    incubator/cxf/trunk/tools/xjc/cfg/.checkstyle
    incubator/cxf/trunk/tools/xjc/cfg/.pmd
    incubator/cxf/trunk/tools/xjc/cfg/.ruleset
    incubator/cxf/trunk/tools/xjc/cfg/pom.xml   (with props)
    incubator/cxf/trunk/tools/xjc/cfg/src/
    incubator/cxf/trunk/tools/xjc/cfg/src/main/
    incubator/cxf/trunk/tools/xjc/cfg/src/main/java/
    incubator/cxf/trunk/tools/xjc/cfg/src/main/java/org/
    incubator/cxf/trunk/tools/xjc/cfg/src/main/java/org/apache/
    incubator/cxf/trunk/tools/xjc/cfg/src/main/java/org/apache/cxf/
    incubator/cxf/trunk/tools/xjc/cfg/src/main/java/org/apache/cxf/xjc/
    incubator/cxf/trunk/tools/xjc/cfg/src/main/java/org/apache/cxf/xjc/cfg/
    incubator/cxf/trunk/tools/xjc/cfg/src/main/java/org/apache/cxf/xjc/cfg/ConfigurableBeansPlugin.java   (with props)
    incubator/cxf/trunk/tools/xjc/cfg/src/main/resources/
    incubator/cxf/trunk/tools/xjc/cfg/src/main/resources/META-INF/
    incubator/cxf/trunk/tools/xjc/cfg/src/main/resources/META-INF/services/
    incubator/cxf/trunk/tools/xjc/cfg/src/main/resources/META-INF/services/com.sun.tools.xjc.Plugin
    incubator/cxf/trunk/tools/xjc/cfg/src/test/
    incubator/cxf/trunk/tools/xjc/cfg/src/test/main/
    incubator/cxf/trunk/tools/xjc/cfg/src/test/main/java/
    incubator/cxf/trunk/tools/xjc/cfg/src/test/main/java/org/
    incubator/cxf/trunk/tools/xjc/cfg/src/test/main/java/org/apache/
    incubator/cxf/trunk/tools/xjc/cfg/src/test/main/java/org/apache/cxf/
    incubator/cxf/trunk/tools/xjc/cfg/src/test/main/java/org/apache/cxf/xjc/
    incubator/cxf/trunk/tools/xjc/cfg/src/test/main/java/org/apache/cxf/xjc/cfg/
    incubator/cxf/trunk/tools/xjc/cfg/src/test/resources/
    incubator/cxf/trunk/tools/xjc/dv/
    incubator/cxf/trunk/tools/xjc/dv-test/
    incubator/cxf/trunk/tools/xjc/dv-test/.checkstyle
    incubator/cxf/trunk/tools/xjc/dv-test/.pmd
    incubator/cxf/trunk/tools/xjc/dv-test/.ruleset
    incubator/cxf/trunk/tools/xjc/dv-test/empty-elements.xml   (with props)
    incubator/cxf/trunk/tools/xjc/dv-test/pom.xml   (with props)
    incubator/cxf/trunk/tools/xjc/dv-test/src/
    incubator/cxf/trunk/tools/xjc/dv-test/src/main/
    incubator/cxf/trunk/tools/xjc/dv-test/src/main/resources/
    incubator/cxf/trunk/tools/xjc/dv-test/src/test/
    incubator/cxf/trunk/tools/xjc/dv-test/src/test/java/
    incubator/cxf/trunk/tools/xjc/dv-test/src/test/java/org/
    incubator/cxf/trunk/tools/xjc/dv-test/src/test/java/org/apache/
    incubator/cxf/trunk/tools/xjc/dv-test/src/test/java/org/apache/cxf/
    incubator/cxf/trunk/tools/xjc/dv-test/src/test/java/org/apache/cxf/xjc/
    incubator/cxf/trunk/tools/xjc/dv-test/src/test/java/org/apache/cxf/xjc/dv/
    incubator/cxf/trunk/tools/xjc/dv-test/src/test/java/org/apache/cxf/xjc/dv/DefaultValueTest.java   (with props)
    incubator/cxf/trunk/tools/xjc/dv-test/src/test/resources/
    incubator/cxf/trunk/tools/xjc/dv-test/src/test/resources/schemas/
    incubator/cxf/trunk/tools/xjc/dv-test/src/test/resources/schemas/configuration/
    incubator/cxf/trunk/tools/xjc/dv-test/src/test/resources/schemas/configuration/foo.xsd   (with props)
    incubator/cxf/trunk/tools/xjc/dv-test/ttt
    incubator/cxf/trunk/tools/xjc/dv/.checkstyle
    incubator/cxf/trunk/tools/xjc/dv/.pmd
    incubator/cxf/trunk/tools/xjc/dv/.ruleset
    incubator/cxf/trunk/tools/xjc/dv/pom.xml   (with props)
    incubator/cxf/trunk/tools/xjc/dv/src/
    incubator/cxf/trunk/tools/xjc/dv/src/main/
    incubator/cxf/trunk/tools/xjc/dv/src/main/java/
    incubator/cxf/trunk/tools/xjc/dv/src/main/java/org/
    incubator/cxf/trunk/tools/xjc/dv/src/main/java/org/apache/
    incubator/cxf/trunk/tools/xjc/dv/src/main/java/org/apache/cxf/
    incubator/cxf/trunk/tools/xjc/dv/src/main/java/org/apache/cxf/xjc/
    incubator/cxf/trunk/tools/xjc/dv/src/main/java/org/apache/cxf/xjc/dv/
    incubator/cxf/trunk/tools/xjc/dv/src/main/java/org/apache/cxf/xjc/dv/DefaultValuePlugin.java   (with props)
    incubator/cxf/trunk/tools/xjc/dv/src/main/resources/
    incubator/cxf/trunk/tools/xjc/dv/src/main/resources/META-INF/
    incubator/cxf/trunk/tools/xjc/dv/src/main/resources/META-INF/services/
    incubator/cxf/trunk/tools/xjc/dv/src/main/resources/META-INF/services/com.sun.tools.xjc.Plugin
    incubator/cxf/trunk/tools/xjc/dv/src/test/
    incubator/cxf/trunk/tools/xjc/dv/src/test/java/
    incubator/cxf/trunk/tools/xjc/dv/src/test/resources/
    incubator/cxf/trunk/tools/xjc/pom.xml   (with props)
Removed:
    incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/APIMessages.properties
    incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/AbstractCommandLineConfiguration.java
    incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/CommandLineOption.java
    incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/CommandlineConfiguration.java
    incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/CompoundName.java
    incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/Configuration.java
    incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/ConfigurationBuilder.java
    incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/ConfigurationException.java
    incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/ConfigurationItemMetadata.java
    incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/ConfigurationMetadata.java
    incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/impl/
    incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/spring/ConfigurationBuilderImpl.java
    incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/spring/ConfigurationImpl.java
    incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/spring/ConfigurationItemMetadataImpl.java
    incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/spring/ConfigurationMetadataBuilder.java
    incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/spring/ConfigurationMetadataImpl.java
    incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/spring/ConfigurationMetadataUtils.java
    incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/spring/DefaultConfigurationProviderFactory.java
    incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/spring/InMemoryProvider.java
    incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/spring/Messages.properties
    incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/spring/TypeSchema.java
    incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/spring/TypeSchemaHelper.java
    incubator/cxf/trunk/common/src/test/java/org/apache/cxf/configuration/CompoundNameTest.java
    incubator/cxf/trunk/common/src/test/java/org/apache/cxf/configuration/impl/ConfigurationBuilderImplTest.java
    incubator/cxf/trunk/common/src/test/java/org/apache/cxf/configuration/impl/TestProvider.java
Modified:
    incubator/cxf/trunk/api/src/main/java/org/apache/cxf/Bus.java
    incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/BusConfigurationHelper.java
    incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/CXFBus.java
    incubator/cxf/trunk/rt/core/src/test/java/org/apache/cxf/bus/CXFBusTest.java
    incubator/cxf/trunk/rt/management/src/main/java/org/apache/cxf/management/InstrumentationManagerImpl.java
    incubator/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPConduitConfiguration.java
    incubator/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPDestinationConfiguration.java
    incubator/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPListenerConfiguration.java
    incubator/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/ServiceModelHttpConfigurationProvider.java
    incubator/cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/JMSConfiguration.java
    incubator/cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/ServiceModelJMSConfigurationProvider.java
    incubator/cxf/trunk/tools/common/src/main/java/org/apache/cxf/tools/common/ToolConfig.java
    incubator/cxf/trunk/tools/common/src/main/java/org/apache/cxf/tools/generators/spring/BeanGenerator.java
    incubator/cxf/trunk/tools/pom.xml

Modified: incubator/cxf/trunk/api/src/main/java/org/apache/cxf/Bus.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/api/src/main/java/org/apache/cxf/Bus.java?view=diff&rev=440753&r1=440752&r2=440753
==============================================================================
--- incubator/cxf/trunk/api/src/main/java/org/apache/cxf/Bus.java (original)
+++ incubator/cxf/trunk/api/src/main/java/org/apache/cxf/Bus.java Wed Sep  6 09:11:15 2006
@@ -19,8 +19,8 @@
 
 package org.apache.cxf;
 
-import org.apache.cxf.configuration.Configuration;
 import org.apache.cxf.interceptor.InterceptorProvider;
+import org.apache.cxf.oldcfg.Configuration;
 
 public interface Bus extends InterceptorProvider {
     

Added: incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/AbstractConfigurableBeanBase.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/AbstractConfigurableBeanBase.java?view=auto&rev=440753
==============================================================================
--- incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/AbstractConfigurableBeanBase.java (added)
+++ incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/AbstractConfigurableBeanBase.java Wed Sep  6 09:11:15 2006
@@ -0,0 +1,55 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.cxf.configuration;
+
+import java.util.List;
+
+public abstract class AbstractConfigurableBeanBase implements Configurable {
+    
+    private List<ConfigurationProvider> providers;
+    
+    public String getBeanName() {
+        return this.getClass().getName();
+    }
+
+    public List<ConfigurationProvider> getProviders() {
+        return providers;
+    }
+
+    public void setProviders(List<ConfigurationProvider> providers) {
+        this.providers = providers;
+    }
+    
+    
+    protected <T> T tryProviders(Class<T> cls, String name) {
+        if (null != providers) {
+            for (ConfigurationProvider p : providers) {
+                Object value = p.getObject(name);
+                if (null != value) {
+                    return cls.cast(value);
+                }
+            }
+        }
+        return null;
+    }
+    
+    
+    
+}

Propchange: incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/AbstractConfigurableBeanBase.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/AbstractConfigurableBeanBase.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/Configurable.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/Configurable.java?view=auto&rev=440753
==============================================================================
--- incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/Configurable.java (added)
+++ incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/Configurable.java Wed Sep  6 09:11:15 2006
@@ -0,0 +1,25 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.cxf.configuration;
+
+public interface Configurable {
+    
+    String getBeanName();    
+}

Propchange: incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/Configurable.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/Configurable.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/ConfigurationProvider.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/ConfigurationProvider.java?view=auto&rev=440753
==============================================================================
--- incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/ConfigurationProvider.java (added)
+++ incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/ConfigurationProvider.java Wed Sep  6 09:11:15 2006
@@ -0,0 +1,53 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.cxf.configuration;
+
+
+
+public interface ConfigurationProvider {
+
+    /**
+     * Lookup the value for the configuration item with the given name in the 
+     * underlying store.
+     * 
+     * @param name the name of the configuration item.
+     * @return the value of the configuration item.
+     */
+    Object getObject(String name);
+    
+    /**
+     * Change the value of  the configuration item with the given name.
+     * Return true if the change was accepted and the value changed.
+     * It is the providers responsibility to persiste the change in its underlying store
+     * if it accepts the change.
+     * 
+     * @param name the name of the configuration item.
+     * @param value the new value for the configuration item.
+     * @return true if the change was accepted.
+     */
+    boolean setObject(String name, Object value);
+
+    /**
+     * Save the changes
+     * 
+     * @return true if the save was successful.
+     */
+    boolean save();
+}

Propchange: incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/ConfigurationProvider.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/ConfigurationProvider.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/Configurer.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/Configurer.java?view=auto&rev=440753
==============================================================================
--- incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/Configurer.java (added)
+++ incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/Configurer.java Wed Sep  6 09:11:15 2006
@@ -0,0 +1,25 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.cxf.configuration;
+
+public interface Configurer {
+    
+    void configureBean(Configurable beanInstance);
+}

Propchange: incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/Configurer.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/Configurer.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Copied: incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/AbstractCommandLineConfiguration.java (from r440332, incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/AbstractCommandLineConfiguration.java)
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/AbstractCommandLineConfiguration.java?view=diff&rev=440753&p1=incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/AbstractCommandLineConfiguration.java&r1=440332&p2=incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/AbstractCommandLineConfiguration.java&r2=440753
==============================================================================
--- incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/AbstractCommandLineConfiguration.java (original)
+++ incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/AbstractCommandLineConfiguration.java Wed Sep  6 09:11:15 2006
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package org.apache.cxf.configuration;
+package org.apache.cxf.oldcfg;
 
 import java.util.ArrayList;
 import java.util.Collection;

Copied: incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/CommandLineOption.java (from r440332, incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/CommandLineOption.java)
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/CommandLineOption.java?view=diff&rev=440753&p1=incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/CommandLineOption.java&r1=440332&p2=incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/CommandLineOption.java&r2=440753
==============================================================================
--- incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/CommandLineOption.java (original)
+++ incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/CommandLineOption.java Wed Sep  6 09:11:15 2006
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package org.apache.cxf.configuration;
+package org.apache.cxf.oldcfg;
 
 /**
  * Represents a command line option, similar to <code>ConfigurationItem</code>.

Copied: incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/CommandlineConfiguration.java (from r440332, incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/CommandlineConfiguration.java)
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/CommandlineConfiguration.java?view=diff&rev=440753&p1=incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/CommandlineConfiguration.java&r1=440332&p2=incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/CommandlineConfiguration.java&r2=440753
==============================================================================
--- incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/CommandlineConfiguration.java (original)
+++ incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/CommandlineConfiguration.java Wed Sep  6 09:11:15 2006
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package org.apache.cxf.configuration;
+package org.apache.cxf.oldcfg;
 
 public interface CommandlineConfiguration {
     Object getObject(String name);

Copied: incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/CompoundName.java (from r440332, incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/CompoundName.java)
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/CompoundName.java?view=diff&rev=440753&p1=incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/CompoundName.java&r1=440332&p2=incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/CompoundName.java&r2=440753
==============================================================================
--- incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/CompoundName.java (original)
+++ incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/CompoundName.java Wed Sep  6 09:11:15 2006
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package org.apache.cxf.configuration;
+package org.apache.cxf.oldcfg;
 
 import java.util.ResourceBundle;
 

Copied: incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/Configuration.java (from r440332, incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/Configuration.java)
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/Configuration.java?view=diff&rev=440753&p1=incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/Configuration.java&r1=440332&p2=incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/Configuration.java&r2=440753
==============================================================================
--- incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/Configuration.java (original)
+++ incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/Configuration.java Wed Sep  6 09:11:15 2006
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package org.apache.cxf.configuration;
+package org.apache.cxf.oldcfg;
 
 import java.util.List;
 

Copied: incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/ConfigurationBuilder.java (from r440332, incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/ConfigurationBuilder.java)
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/ConfigurationBuilder.java?view=diff&rev=440753&p1=incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/ConfigurationBuilder.java&r1=440332&p2=incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/ConfigurationBuilder.java&r2=440753
==============================================================================
--- incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/ConfigurationBuilder.java (original)
+++ incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/ConfigurationBuilder.java Wed Sep  6 09:11:15 2006
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package org.apache.cxf.configuration;
+package org.apache.cxf.oldcfg;
 
 import java.net.URL;
 

Copied: incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/ConfigurationException.java (from r440332, incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/ConfigurationException.java)
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/ConfigurationException.java?view=diff&rev=440753&p1=incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/ConfigurationException.java&r1=440332&p2=incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/ConfigurationException.java&r2=440753
==============================================================================
--- incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/ConfigurationException.java (original)
+++ incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/ConfigurationException.java Wed Sep  6 09:11:15 2006
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package org.apache.cxf.configuration;
+package org.apache.cxf.oldcfg;
 
 import org.apache.cxf.common.i18n.Message;
 import org.apache.cxf.common.i18n.UncheckedException;

Copied: incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/ConfigurationItemMetadata.java (from r440332, incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/ConfigurationItemMetadata.java)
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/ConfigurationItemMetadata.java?view=diff&rev=440753&p1=incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/ConfigurationItemMetadata.java&r1=440332&p2=incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/ConfigurationItemMetadata.java&r2=440753
==============================================================================
--- incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/ConfigurationItemMetadata.java (original)
+++ incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/ConfigurationItemMetadata.java Wed Sep  6 09:11:15 2006
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package org.apache.cxf.configuration;
+package org.apache.cxf.oldcfg;
 
 import javax.xml.namespace.QName;
 

Copied: incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/ConfigurationMetadata.java (from r440332, incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/ConfigurationMetadata.java)
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/ConfigurationMetadata.java?view=diff&rev=440753&p1=incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/ConfigurationMetadata.java&r1=440332&p2=incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/ConfigurationMetadata.java&r2=440753
==============================================================================
--- incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/ConfigurationMetadata.java (original)
+++ incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/ConfigurationMetadata.java Wed Sep  6 09:11:15 2006
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package org.apache.cxf.configuration;
+package org.apache.cxf.oldcfg;
 
 import java.util.Collection;
 

Copied: incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/ConfigurationProvider.java (from r440332, incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/ConfigurationProvider.java)
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/ConfigurationProvider.java?view=diff&rev=440753&p1=incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/ConfigurationProvider.java&r1=440332&p2=incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/ConfigurationProvider.java&r2=440753
==============================================================================
--- incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/ConfigurationProvider.java (original)
+++ incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/ConfigurationProvider.java Wed Sep  6 09:11:15 2006
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package org.apache.cxf.configuration;
+package org.apache.cxf.oldcfg;
 
 
 

Copied: incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/impl/ConfigurationBuilderImpl.java (from r440734, incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/impl/ConfigurationBuilderImpl.java)
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/impl/ConfigurationBuilderImpl.java?view=diff&rev=440753&p1=incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/impl/ConfigurationBuilderImpl.java&r1=440734&p2=incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/impl/ConfigurationBuilderImpl.java&r2=440753
==============================================================================
--- incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/impl/ConfigurationBuilderImpl.java (original)
+++ incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/impl/ConfigurationBuilderImpl.java Wed Sep  6 09:11:15 2006
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package org.apache.cxf.configuration.impl;
+package org.apache.cxf.oldcfg.impl;
 
 import java.io.IOException;
 import java.io.InputStream;
@@ -35,12 +35,12 @@
 import org.apache.cxf.common.i18n.Message;
 import org.apache.cxf.common.injection.ResourceInjector;
 import org.apache.cxf.common.logging.LogUtils;
-import org.apache.cxf.configuration.CompoundName;
-import org.apache.cxf.configuration.Configuration;
-import org.apache.cxf.configuration.ConfigurationBuilder;
-import org.apache.cxf.configuration.ConfigurationException;
-import org.apache.cxf.configuration.ConfigurationMetadata;
-import org.apache.cxf.configuration.ConfigurationProvider;
+import org.apache.cxf.oldcfg.CompoundName;
+import org.apache.cxf.oldcfg.Configuration;
+import org.apache.cxf.oldcfg.ConfigurationBuilder;
+import org.apache.cxf.oldcfg.ConfigurationException;
+import org.apache.cxf.oldcfg.ConfigurationMetadata;
+import org.apache.cxf.oldcfg.ConfigurationProvider;
 import org.apache.cxf.resource.DefaultResourceManager;
 import org.apache.cxf.resource.PropertiesResolver;
 import org.apache.cxf.resource.ResourceManager;

Copied: incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/impl/ConfigurationImpl.java (from r440734, incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/impl/ConfigurationImpl.java)
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/impl/ConfigurationImpl.java?view=diff&rev=440753&p1=incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/impl/ConfigurationImpl.java&r1=440734&p2=incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/impl/ConfigurationImpl.java&r2=440753
==============================================================================
--- incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/impl/ConfigurationImpl.java (original)
+++ incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/impl/ConfigurationImpl.java Wed Sep  6 09:11:15 2006
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package org.apache.cxf.configuration.impl;
+package org.apache.cxf.oldcfg.impl;
 
 import java.lang.reflect.InvocationTargetException;
 import java.lang.reflect.Method;
@@ -29,12 +29,12 @@
 
 import org.apache.cxf.common.i18n.BundleUtils;
 import org.apache.cxf.common.i18n.Message;
-import org.apache.cxf.configuration.CompoundName;
-import org.apache.cxf.configuration.Configuration;
-import org.apache.cxf.configuration.ConfigurationException;
-import org.apache.cxf.configuration.ConfigurationItemMetadata;
-import org.apache.cxf.configuration.ConfigurationMetadata;
-import org.apache.cxf.configuration.ConfigurationProvider;
+import org.apache.cxf.oldcfg.CompoundName;
+import org.apache.cxf.oldcfg.Configuration;
+import org.apache.cxf.oldcfg.ConfigurationException;
+import org.apache.cxf.oldcfg.ConfigurationItemMetadata;
+import org.apache.cxf.oldcfg.ConfigurationMetadata;
+import org.apache.cxf.oldcfg.ConfigurationProvider;
 
 public class ConfigurationImpl implements Configuration {
 

Copied: incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/impl/ConfigurationItemMetadataImpl.java (from r440734, incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/impl/ConfigurationItemMetadataImpl.java)
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/impl/ConfigurationItemMetadataImpl.java?view=diff&rev=440753&p1=incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/impl/ConfigurationItemMetadataImpl.java&r1=440734&p2=incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/impl/ConfigurationItemMetadataImpl.java&r2=440753
==============================================================================
--- incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/impl/ConfigurationItemMetadataImpl.java (original)
+++ incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/impl/ConfigurationItemMetadataImpl.java Wed Sep  6 09:11:15 2006
@@ -17,11 +17,11 @@
  * under the License.
  */
 
-package org.apache.cxf.configuration.impl;
+package org.apache.cxf.oldcfg.impl;
 
 import javax.xml.namespace.QName;
 
-import org.apache.cxf.configuration.ConfigurationItemMetadata;
+import org.apache.cxf.oldcfg.ConfigurationItemMetadata;
 
 public class ConfigurationItemMetadataImpl implements ConfigurationItemMetadata {
     

Copied: incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/impl/ConfigurationMetadataBuilder.java (from r440734, incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/impl/ConfigurationMetadataBuilder.java)
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/impl/ConfigurationMetadataBuilder.java?view=diff&rev=440753&p1=incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/impl/ConfigurationMetadataBuilder.java&r1=440734&p2=incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/impl/ConfigurationMetadataBuilder.java&r2=440753
==============================================================================
--- incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/impl/ConfigurationMetadataBuilder.java (original)
+++ incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/impl/ConfigurationMetadataBuilder.java Wed Sep  6 09:11:15 2006
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package org.apache.cxf.configuration.impl;
+package org.apache.cxf.oldcfg.impl;
 
 import java.io.IOException;
 import java.io.InputStream;
@@ -47,9 +47,10 @@
 
 import org.apache.cxf.common.i18n.Message;
 import org.apache.cxf.common.logging.LogUtils;
-import org.apache.cxf.configuration.ConfigurationException;
-import org.apache.cxf.configuration.ConfigurationItemMetadata.LifecyclePolicy;
-import org.apache.cxf.configuration.ConfigurationMetadata;
+import org.apache.cxf.oldcfg.ConfigurationException;
+import org.apache.cxf.oldcfg.ConfigurationItemMetadata.LifecyclePolicy;
+import org.apache.cxf.oldcfg.ConfigurationMetadata;
+
 import org.apache.cxf.resource.DefaultResourceManager;
 
 

Copied: incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/impl/ConfigurationMetadataImpl.java (from r440734, incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/impl/ConfigurationMetadataImpl.java)
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/impl/ConfigurationMetadataImpl.java?view=diff&rev=440753&p1=incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/impl/ConfigurationMetadataImpl.java&r1=440734&p2=incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/impl/ConfigurationMetadataImpl.java&r2=440753
==============================================================================
--- incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/impl/ConfigurationMetadataImpl.java (original)
+++ incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/impl/ConfigurationMetadataImpl.java Wed Sep  6 09:11:15 2006
@@ -17,14 +17,14 @@
  * under the License.
  */
 
-package org.apache.cxf.configuration.impl;
+package org.apache.cxf.oldcfg.impl;
 
 import java.util.Collection;
 import java.util.HashMap;
 import java.util.Map;
 
-import org.apache.cxf.configuration.ConfigurationItemMetadata;
-import org.apache.cxf.configuration.ConfigurationMetadata;
+import org.apache.cxf.oldcfg.ConfigurationItemMetadata;
+import org.apache.cxf.oldcfg.ConfigurationMetadata;
 
 public class ConfigurationMetadataImpl implements ConfigurationMetadata {
 

Copied: incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/impl/ConfigurationMetadataUtils.java (from r440734, incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/impl/ConfigurationMetadataUtils.java)
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/impl/ConfigurationMetadataUtils.java?view=diff&rev=440753&p1=incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/impl/ConfigurationMetadataUtils.java&r1=440734&p2=incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/impl/ConfigurationMetadataUtils.java&r2=440753
==============================================================================
--- incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/impl/ConfigurationMetadataUtils.java (original)
+++ incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/impl/ConfigurationMetadataUtils.java Wed Sep  6 09:11:15 2006
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package org.apache.cxf.configuration.impl;
+package org.apache.cxf.oldcfg.impl;
 
 import java.util.logging.Logger;
 
@@ -29,7 +29,7 @@
 
 import org.apache.cxf.common.i18n.Message;
 import org.apache.cxf.common.logging.LogUtils;
-import org.apache.cxf.configuration.ConfigurationException;
+import org.apache.cxf.oldcfg.ConfigurationException;
 
 public final class ConfigurationMetadataUtils {
 

Copied: incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/impl/DefaultConfigurationProviderFactory.java (from r440734, incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/impl/DefaultConfigurationProviderFactory.java)
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/impl/DefaultConfigurationProviderFactory.java?view=diff&rev=440753&p1=incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/impl/DefaultConfigurationProviderFactory.java&r1=440734&p2=incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/impl/DefaultConfigurationProviderFactory.java&r2=440753
==============================================================================
--- incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/impl/DefaultConfigurationProviderFactory.java (original)
+++ incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/impl/DefaultConfigurationProviderFactory.java Wed Sep  6 09:11:15 2006
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package org.apache.cxf.configuration.impl;
+package org.apache.cxf.oldcfg.impl;
 
 
 import java.io.BufferedReader;
@@ -29,8 +29,8 @@
 
 import org.apache.cxf.common.i18n.Message;
 import org.apache.cxf.common.logging.LogUtils;
-import org.apache.cxf.configuration.ConfigurationException;
-import org.apache.cxf.configuration.ConfigurationProvider;
+import org.apache.cxf.oldcfg.ConfigurationException;
+import org.apache.cxf.oldcfg.ConfigurationProvider;
 import org.apache.cxf.resource.DefaultResourceManager;
 
 
@@ -39,7 +39,7 @@
     private static final Logger LOG = LogUtils.getL7dLogger(DefaultConfigurationProviderFactory.class);
     
     private static final String DEFAULT_CONFIGURATION_PROVIDER_CLASSNAME = 
-        "org.apache.cxf.configuration.impl.InMemoryProvider";
+        "org.apache.cxf.oldcfg.impl.InMemoryProvider";
     private static final String DEFAULT_CONFIGURATION_PROVIDER_CLASSNAME_PROPERTY = 
         "org.apache.cxf.configuration.ConfigurationProviderClass";
     

Copied: incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/impl/InMemoryProvider.java (from r440734, incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/impl/InMemoryProvider.java)
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/impl/InMemoryProvider.java?view=diff&rev=440753&p1=incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/impl/InMemoryProvider.java&r1=440734&p2=incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/impl/InMemoryProvider.java&r2=440753
==============================================================================
--- incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/impl/InMemoryProvider.java (original)
+++ incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/impl/InMemoryProvider.java Wed Sep  6 09:11:15 2006
@@ -17,14 +17,14 @@
  * under the License.
  */
 
-package org.apache.cxf.configuration.impl;
+package org.apache.cxf.oldcfg.impl;
 
 import java.net.URL;
 import java.util.HashMap;
 import java.util.Map;
 
-import org.apache.cxf.configuration.Configuration;
-import org.apache.cxf.configuration.ConfigurationProvider;
+import org.apache.cxf.oldcfg.Configuration;
+import org.apache.cxf.oldcfg.ConfigurationProvider;
 
 /**
  * Temporay class to accept changes to configuration. Should be obsoleted once other providers 

Copied: incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/impl/TypeSchema.java (from r440734, incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/impl/TypeSchema.java)
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/impl/TypeSchema.java?view=diff&rev=440753&p1=incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/impl/TypeSchema.java&r1=440734&p2=incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/impl/TypeSchema.java&r2=440753
==============================================================================
--- incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/impl/TypeSchema.java (original)
+++ incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/impl/TypeSchema.java Wed Sep  6 09:11:15 2006
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package org.apache.cxf.configuration.impl;
+package org.apache.cxf.oldcfg.impl;
 
 
 import java.io.File;
@@ -62,9 +62,9 @@
 
 import org.apache.cxf.common.i18n.Message;
 import org.apache.cxf.common.logging.LogUtils;
-import org.apache.cxf.configuration.ConfigurationException;
-import org.apache.cxf.configuration.ConfigurationItemMetadata;
 import org.apache.cxf.jaxb.JAXBUtils;
+import org.apache.cxf.oldcfg.ConfigurationException;
+import org.apache.cxf.oldcfg.ConfigurationItemMetadata;
 import org.apache.cxf.resource.DefaultResourceManager;
 
 public class TypeSchema {

Copied: incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/impl/TypeSchemaHelper.java (from r440734, incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/impl/TypeSchemaHelper.java)
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/impl/TypeSchemaHelper.java?view=diff&rev=440753&p1=incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/impl/TypeSchemaHelper.java&r1=440734&p2=incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/impl/TypeSchemaHelper.java&r2=440753
==============================================================================
--- incubator/cxf/trunk/common/src/main/java/org/apache/cxf/configuration/impl/TypeSchemaHelper.java (original)
+++ incubator/cxf/trunk/common/src/main/java/org/apache/cxf/oldcfg/impl/TypeSchemaHelper.java Wed Sep  6 09:11:15 2006
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package org.apache.cxf.configuration.impl;
+package org.apache.cxf.oldcfg.impl;
 
 import java.util.Collection;
 import java.util.HashMap;

Copied: incubator/cxf/trunk/common/src/test/java/org/apache/cxf/oldcfg/CompoundNameTest.java (from r440332, incubator/cxf/trunk/common/src/test/java/org/apache/cxf/configuration/CompoundNameTest.java)
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/common/src/test/java/org/apache/cxf/oldcfg/CompoundNameTest.java?view=diff&rev=440753&p1=incubator/cxf/trunk/common/src/test/java/org/apache/cxf/configuration/CompoundNameTest.java&r1=440332&p2=incubator/cxf/trunk/common/src/test/java/org/apache/cxf/oldcfg/CompoundNameTest.java&r2=440753
==============================================================================
--- incubator/cxf/trunk/common/src/test/java/org/apache/cxf/configuration/CompoundNameTest.java (original)
+++ incubator/cxf/trunk/common/src/test/java/org/apache/cxf/oldcfg/CompoundNameTest.java Wed Sep  6 09:11:15 2006
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-package org.apache.cxf.configuration;
+package org.apache.cxf.oldcfg;
 
 import junit.framework.TestCase;
 

Added: incubator/cxf/trunk/common/src/test/java/org/apache/cxf/oldcfg/impl/ConfigurationBuilderImplTest.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/common/src/test/java/org/apache/cxf/oldcfg/impl/ConfigurationBuilderImplTest.java?view=auto&rev=440753
==============================================================================
--- incubator/cxf/trunk/common/src/test/java/org/apache/cxf/oldcfg/impl/ConfigurationBuilderImplTest.java (added)
+++ incubator/cxf/trunk/common/src/test/java/org/apache/cxf/oldcfg/impl/ConfigurationBuilderImplTest.java Wed Sep  6 09:11:15 2006
@@ -0,0 +1,135 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.cxf.oldcfg.impl;
+
+import java.net.URL;
+import java.util.List;
+
+import junit.framework.TestCase;
+
+import org.apache.cxf.oldcfg.CompoundName;
+import org.apache.cxf.oldcfg.Configuration;
+import org.apache.cxf.oldcfg.ConfigurationBuilder;
+import org.apache.cxf.oldcfg.ConfigurationException;
+import org.apache.cxf.oldcfg.ConfigurationMetadata;
+import org.apache.cxf.oldcfg.ConfigurationProvider;
+
+import org.easymock.EasyMock;
+
+public class ConfigurationBuilderImplTest extends TestCase {
+    
+    private static final String TEST_CONFIGURATION_URI = 
+        "http://cxf.apache.org/configuration/test/meta1";
+    private static final String BUS_CONFIGURATION_URI = "http://cxf.apache.org/bus/bus-config";
+    private static final String UNKNOWN_CONFIGURATION_URI = 
+        "http://cxf.apache.org/unknown/unknown-config";  
+    private static final String DEFAULT_CONFIGURATION_PROVIDER_CLASSNAME = 
+        TestProvider.class.getName();
+    
+    private static final String DEFAULT_CONFIGURATION_PROVIDER_CLASSNAME_PROPERTY = 
+        "org.apache.cxf.configuration.ConfigurationProviderClass";
+    
+    
+    private String orgProviderClassname;
+    
+    public void setUp() {
+        orgProviderClassname = System.getProperty(DEFAULT_CONFIGURATION_PROVIDER_CLASSNAME_PROPERTY);
+        System.setProperty(DEFAULT_CONFIGURATION_PROVIDER_CLASSNAME_PROPERTY, 
+                           DEFAULT_CONFIGURATION_PROVIDER_CLASSNAME);      
+    }
+    
+    public void tearDown() {
+        if (null != orgProviderClassname) {
+            System.setProperty(DEFAULT_CONFIGURATION_PROVIDER_CLASSNAME_PROPERTY, orgProviderClassname);
+        } else {
+            System.clearProperty(DEFAULT_CONFIGURATION_PROVIDER_CLASSNAME_PROPERTY);
+        }
+    }
+    
+    public void testGetModel() {
+        ConfigurationBuilderImpl builder = new ConfigurationBuilderImpl();
+        try {
+            builder.getModel(UNKNOWN_CONFIGURATION_URI);
+        } catch (ConfigurationException ex) {
+            assertEquals("UNKNOWN_NAMESPACE_EXC", ex.getCode());
+        }
+        
+        ConfigurationMetadata unknownModel = EasyMock.createMock(ConfigurationMetadata.class);
+        builder.addModel(UNKNOWN_CONFIGURATION_URI, unknownModel);
+        
+        ConfigurationMetadata model = builder.getModel(UNKNOWN_CONFIGURATION_URI);
+        assertSame(unknownModel, model);
+    }
+    
+    public void testGetConfigurationUnknownNamespace() {
+        ConfigurationBuilder builder = new ConfigurationBuilderImpl();
+        CompoundName id = new CompoundName("cxf");
+        try {
+            builder.getConfiguration(UNKNOWN_CONFIGURATION_URI, id);            
+        } catch (ConfigurationException ex) {
+            assertEquals("UNKNOWN_NAMESPACE_EXC", ex.getCode());
+        }
+    }
+   
+    public void testBuildConfiguration() throws Exception {
+        URL url = getClass().getResource(getClass().getName() + ".class");        
+        CompoundName id = new CompoundName("cxf");
+        ConfigurationBuilderImpl builder = new ConfigurationBuilderImpl(url);
+        ConfigurationMetadataImpl model = new ConfigurationMetadataImpl();
+        model.setNamespaceURI(BUS_CONFIGURATION_URI);
+        builder.addModel(BUS_CONFIGURATION_URI, model);
+        model = new ConfigurationMetadataImpl();
+        
+        Configuration c = builder.buildConfiguration(BUS_CONFIGURATION_URI, id);
+        assertNotNull(c);
+        List<ConfigurationProvider> providers = c.getProviders();
+        assertEquals(1, providers.size());
+        TestProvider tp = (TestProvider)providers.get(0);
+        assertSame(url, tp.url);
+        assertSame(c, tp.configuration);
+        assertNull(tp.name);
+    }
+    
+    public void testGetConfiguration() throws Exception {
+        URL url = getClass().getResource(getClass().getName() + ".class");        
+        CompoundName id = new CompoundName("cxf");
+        ConfigurationBuilderImpl builder = new ConfigurationBuilderImpl(url);
+        ConfigurationMetadataImpl model = new ConfigurationMetadataImpl();
+        model.setNamespaceURI(BUS_CONFIGURATION_URI);
+        builder.addModel(BUS_CONFIGURATION_URI, model);
+        model = new ConfigurationMetadataImpl();
+        
+        Configuration c = builder.getConfiguration(BUS_CONFIGURATION_URI, id);
+        assertNotNull(c);
+        List<ConfigurationProvider> providers = c.getProviders();
+        assertEquals(1, providers.size());
+        TestProvider tp = (TestProvider)providers.get(0);
+        assertSame(url, tp.url);
+        assertSame(c, tp.configuration);
+        assertNull(tp.name);
+    }    
+    
+    public void testGetResourceName() {
+        ConfigurationBuilder builder = new ConfigurationBuilderImpl();
+        assertNull("Found metadata resource", builder.getModel(BUS_CONFIGURATION_URI));
+        assertNotNull("Could not find metadata resource", builder.getModel(TEST_CONFIGURATION_URI));   
+    }
+   
+}

Propchange: incubator/cxf/trunk/common/src/test/java/org/apache/cxf/oldcfg/impl/ConfigurationBuilderImplTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/common/src/test/java/org/apache/cxf/oldcfg/impl/ConfigurationBuilderImplTest.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/cxf/trunk/common/src/test/java/org/apache/cxf/oldcfg/impl/TestProvider.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/common/src/test/java/org/apache/cxf/oldcfg/impl/TestProvider.java?view=auto&rev=440753
==============================================================================
--- incubator/cxf/trunk/common/src/test/java/org/apache/cxf/oldcfg/impl/TestProvider.java (added)
+++ incubator/cxf/trunk/common/src/test/java/org/apache/cxf/oldcfg/impl/TestProvider.java Wed Sep  6 09:11:15 2006
@@ -0,0 +1,53 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.cxf.oldcfg.impl;
+
+import java.net.URL;
+
+import javax.annotation.Resource;
+
+import org.apache.cxf.oldcfg.Configuration;
+import org.apache.cxf.oldcfg.ConfigurationProvider;
+
+public class TestProvider implements ConfigurationProvider {
+
+    @Resource()
+    URL url;
+    
+    @Resource()
+    Configuration configuration;
+    
+    @Resource()
+    String name;
+    
+    public Object getObject(String n) {
+        // TODO Auto-generated method stub
+        return null;
+    }
+
+    public boolean setObject(String n, Object value) {
+        // TODO Auto-generated method stub
+        return false;
+    }
+
+    public boolean save() {
+        return false;
+    }
+}

Propchange: incubator/cxf/trunk/common/src/test/java/org/apache/cxf/oldcfg/impl/TestProvider.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/common/src/test/java/org/apache/cxf/oldcfg/impl/TestProvider.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Modified: incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/BusConfigurationHelper.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/BusConfigurationHelper.java?view=diff&rev=440753&r1=440752&r2=440753
==============================================================================
--- incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/BusConfigurationHelper.java (original)
+++ incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/BusConfigurationHelper.java Wed Sep  6 09:11:15 2006
@@ -21,9 +21,9 @@
 
 import java.util.Map;
 
-import org.apache.cxf.configuration.CompoundName;
-import org.apache.cxf.configuration.Configuration;
-import org.apache.cxf.configuration.ConfigurationBuilder;
+import org.apache.cxf.oldcfg.CompoundName;
+import org.apache.cxf.oldcfg.Configuration;
+import org.apache.cxf.oldcfg.ConfigurationBuilder;
 
 public class BusConfigurationHelper {
 

Modified: incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/CXFBus.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/CXFBus.java?view=diff&rev=440753&r1=440752&r2=440753
==============================================================================
--- incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/CXFBus.java (original)
+++ incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/CXFBus.java Wed Sep  6 09:11:15 2006
@@ -24,11 +24,11 @@
 import java.util.Map;
 
 import org.apache.cxf.Bus;
-import org.apache.cxf.configuration.Configuration;
-import org.apache.cxf.configuration.ConfigurationBuilder;
-import org.apache.cxf.configuration.impl.ConfigurationBuilderImpl;
 import org.apache.cxf.extension.ExtensionManagerImpl;
 import org.apache.cxf.interceptor.AbstractBasicInterceptorProvider;
+import org.apache.cxf.oldcfg.Configuration;
+import org.apache.cxf.oldcfg.ConfigurationBuilder;
+import org.apache.cxf.oldcfg.impl.ConfigurationBuilderImpl;
 import org.apache.cxf.resource.DefaultResourceManager;
 import org.apache.cxf.resource.PropertiesResolver;
 import org.apache.cxf.resource.ResourceManager;

Modified: incubator/cxf/trunk/rt/core/src/test/java/org/apache/cxf/bus/CXFBusTest.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/core/src/test/java/org/apache/cxf/bus/CXFBusTest.java?view=diff&rev=440753&r1=440752&r2=440753
==============================================================================
--- incubator/cxf/trunk/rt/core/src/test/java/org/apache/cxf/bus/CXFBusTest.java (original)
+++ incubator/cxf/trunk/rt/core/src/test/java/org/apache/cxf/bus/CXFBusTest.java Wed Sep  6 09:11:15 2006
@@ -27,9 +27,9 @@
 import org.apache.cxf.BusException;
 import org.apache.cxf.binding.BindingFactoryManager;
 import org.apache.cxf.bus.CXFBus.State;
-import org.apache.cxf.configuration.Configuration;
 import org.apache.cxf.event.EventProcessor;
 import org.apache.cxf.management.InstrumentationManager;
+import org.apache.cxf.oldcfg.Configuration;
 import org.apache.cxf.phase.PhaseManager;
 import org.apache.cxf.transport.ConduitInitiatorManager;
 import org.apache.cxf.transport.DestinationFactoryManager;

Modified: incubator/cxf/trunk/rt/management/src/main/java/org/apache/cxf/management/InstrumentationManagerImpl.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/management/src/main/java/org/apache/cxf/management/InstrumentationManagerImpl.java?view=diff&rev=440753&r1=440752&r2=440753
==============================================================================
--- incubator/cxf/trunk/rt/management/src/main/java/org/apache/cxf/management/InstrumentationManagerImpl.java (original)
+++ incubator/cxf/trunk/rt/management/src/main/java/org/apache/cxf/management/InstrumentationManagerImpl.java Wed Sep  6 09:11:15 2006
@@ -28,13 +28,13 @@
 import javax.management.MBeanServer;
 
 import org.apache.cxf.common.logging.LogUtils;
-import org.apache.cxf.configuration.CompoundName;
-import org.apache.cxf.configuration.Configuration;
-import org.apache.cxf.configuration.ConfigurationBuilder;
-import org.apache.cxf.configuration.impl.ConfigurationBuilderImpl;
 import org.apache.cxf.configuration.instrumentation.types.InstrumentationPolicyType;
 import org.apache.cxf.configuration.instrumentation.types.MBServerPolicyType;
 import org.apache.cxf.management.jmx.JMXManagedComponentManager;
+import org.apache.cxf.oldcfg.CompoundName;
+import org.apache.cxf.oldcfg.Configuration;
+import org.apache.cxf.oldcfg.ConfigurationBuilder;
+import org.apache.cxf.oldcfg.impl.ConfigurationBuilderImpl;
 
 
 

Modified: incubator/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPConduitConfiguration.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPConduitConfiguration.java?view=diff&rev=440753&r1=440752&r2=440753
==============================================================================
--- incubator/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPConduitConfiguration.java (original)
+++ incubator/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPConduitConfiguration.java Wed Sep  6 09:11:15 2006
@@ -31,10 +31,10 @@
 import org.apache.cxf.bus.configuration.security.AuthorizationPolicy;
 import org.apache.cxf.bus.configuration.security.SSLClientPolicy;
 import org.apache.cxf.common.util.Base64Utility;
-import org.apache.cxf.configuration.CompoundName;
-import org.apache.cxf.configuration.Configuration;
-import org.apache.cxf.configuration.ConfigurationBuilder;
 import org.apache.cxf.message.Message;
+import org.apache.cxf.oldcfg.CompoundName;
+import org.apache.cxf.oldcfg.Configuration;
+import org.apache.cxf.oldcfg.ConfigurationBuilder;
 import org.apache.cxf.service.model.EndpointInfo;
 import org.apache.cxf.transports.http.configuration.HTTPClientPolicy;
 

Modified: incubator/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPDestinationConfiguration.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPDestinationConfiguration.java?view=diff&rev=440753&r1=440752&r2=440753
==============================================================================
--- incubator/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPDestinationConfiguration.java (original)
+++ incubator/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPDestinationConfiguration.java Wed Sep  6 09:11:15 2006
@@ -25,9 +25,9 @@
 import java.util.Map;
 
 import org.apache.cxf.Bus;
-import org.apache.cxf.configuration.CompoundName;
-import org.apache.cxf.configuration.Configuration;
-import org.apache.cxf.configuration.ConfigurationBuilder;
+import org.apache.cxf.oldcfg.CompoundName;
+import org.apache.cxf.oldcfg.Configuration;
+import org.apache.cxf.oldcfg.ConfigurationBuilder;
 import org.apache.cxf.service.model.EndpointInfo;
 import org.apache.cxf.transports.http.configuration.HTTPServerPolicy;
 

Modified: incubator/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPListenerConfiguration.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPListenerConfiguration.java?view=diff&rev=440753&r1=440752&r2=440753
==============================================================================
--- incubator/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPListenerConfiguration.java (original)
+++ incubator/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPListenerConfiguration.java Wed Sep  6 09:11:15 2006
@@ -21,9 +21,9 @@
 
 import org.apache.cxf.Bus;
 import org.apache.cxf.bus.configuration.security.SSLServerPolicy;
-import org.apache.cxf.configuration.CompoundName;
-import org.apache.cxf.configuration.Configuration;
-import org.apache.cxf.configuration.ConfigurationBuilder;
+import org.apache.cxf.oldcfg.CompoundName;
+import org.apache.cxf.oldcfg.Configuration;
+import org.apache.cxf.oldcfg.ConfigurationBuilder;
 import org.apache.cxf.transports.http.configuration.HTTPListenerPolicy;
 
 /**

Modified: incubator/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/ServiceModelHttpConfigurationProvider.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/ServiceModelHttpConfigurationProvider.java?view=diff&rev=440753&r1=440752&r2=440753
==============================================================================
--- incubator/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/ServiceModelHttpConfigurationProvider.java (original)
+++ incubator/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/ServiceModelHttpConfigurationProvider.java Wed Sep  6 09:11:15 2006
@@ -19,7 +19,7 @@
 
 package org.apache.cxf.transport.http;
 
-import org.apache.cxf.configuration.ConfigurationProvider;
+import org.apache.cxf.oldcfg.ConfigurationProvider;
 import org.apache.cxf.service.model.EndpointInfo;
 import org.apache.cxf.transports.http.configuration.HTTPClientPolicy;
 import org.apache.cxf.transports.http.configuration.HTTPServerPolicy;

Modified: incubator/cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/JMSConfiguration.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/JMSConfiguration.java?view=diff&rev=440753&r1=440752&r2=440753
==============================================================================
--- incubator/cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/JMSConfiguration.java (original)
+++ incubator/cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/JMSConfiguration.java Wed Sep  6 09:11:15 2006
@@ -20,9 +20,9 @@
 package org.apache.cxf.transport.jms;
 
 import org.apache.cxf.Bus;
-import org.apache.cxf.configuration.CompoundName;
-import org.apache.cxf.configuration.Configuration;
-import org.apache.cxf.configuration.ConfigurationBuilder;
+import org.apache.cxf.oldcfg.CompoundName;
+import org.apache.cxf.oldcfg.Configuration;
+import org.apache.cxf.oldcfg.ConfigurationBuilder;
 import org.apache.cxf.service.model.EndpointInfo;
 import org.apache.cxf.transports.jms.JMSAddressPolicyType;
 import org.apache.cxf.transports.jms.jms_conf.JMSSessionPoolConfigPolicy;

Modified: incubator/cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/ServiceModelJMSConfigurationProvider.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/ServiceModelJMSConfigurationProvider.java?view=diff&rev=440753&r1=440752&r2=440753
==============================================================================
--- incubator/cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/ServiceModelJMSConfigurationProvider.java (original)
+++ incubator/cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/ServiceModelJMSConfigurationProvider.java Wed Sep  6 09:11:15 2006
@@ -20,7 +20,7 @@
 package org.apache.cxf.transport.jms;
 
 
-import org.apache.cxf.configuration.ConfigurationProvider;
+import org.apache.cxf.oldcfg.ConfigurationProvider;
 import org.apache.cxf.service.model.EndpointInfo;
 import org.apache.cxf.transports.jms.JMSAddressPolicyType;
 import org.apache.cxf.transports.jms.JMSClientBehaviorPolicyType;

Modified: incubator/cxf/trunk/tools/common/src/main/java/org/apache/cxf/tools/common/ToolConfig.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/common/src/main/java/org/apache/cxf/tools/common/ToolConfig.java?view=diff&rev=440753&r1=440752&r2=440753
==============================================================================
--- incubator/cxf/trunk/tools/common/src/main/java/org/apache/cxf/tools/common/ToolConfig.java (original)
+++ incubator/cxf/trunk/tools/common/src/main/java/org/apache/cxf/tools/common/ToolConfig.java Wed Sep  6 09:11:15 2006
@@ -20,7 +20,7 @@
 package org.apache.cxf.tools.common;
 
 
-import org.apache.cxf.configuration.AbstractCommandLineConfiguration;
+import org.apache.cxf.oldcfg.AbstractCommandLineConfiguration;
 
 
 public class ToolConfig extends AbstractCommandLineConfiguration {

Modified: incubator/cxf/trunk/tools/common/src/main/java/org/apache/cxf/tools/generators/spring/BeanGenerator.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/common/src/main/java/org/apache/cxf/tools/generators/spring/BeanGenerator.java?view=diff&rev=440753&r1=440752&r2=440753
==============================================================================
--- incubator/cxf/trunk/tools/common/src/main/java/org/apache/cxf/tools/generators/spring/BeanGenerator.java (original)
+++ incubator/cxf/trunk/tools/common/src/main/java/org/apache/cxf/tools/generators/spring/BeanGenerator.java Wed Sep  6 09:11:15 2006
@@ -35,13 +35,13 @@
 
 import org.apache.cxf.common.i18n.Message;
 import org.apache.cxf.common.logging.LogUtils;
-import org.apache.cxf.configuration.ConfigurationException;
-import org.apache.cxf.configuration.ConfigurationItemMetadata;
-import org.apache.cxf.configuration.ConfigurationMetadata;
-import org.apache.cxf.configuration.impl.ConfigurationMetadataBuilder;
-import org.apache.cxf.configuration.impl.TypeSchema;
-import org.apache.cxf.configuration.impl.TypeSchemaHelper;
 import org.apache.cxf.jaxb.JAXBUtils;
+import org.apache.cxf.oldcfg.ConfigurationException;
+import org.apache.cxf.oldcfg.ConfigurationItemMetadata;
+import org.apache.cxf.oldcfg.ConfigurationMetadata;
+import org.apache.cxf.oldcfg.impl.ConfigurationMetadataBuilder;
+import org.apache.cxf.oldcfg.impl.TypeSchema;
+import org.apache.cxf.oldcfg.impl.TypeSchemaHelper;
 
 public class BeanGenerator {
 

Modified: incubator/cxf/trunk/tools/pom.xml
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/pom.xml?view=diff&rev=440753&r1=440752&r2=440753
==============================================================================
--- incubator/cxf/trunk/tools/pom.xml (original)
+++ incubator/cxf/trunk/tools/pom.xml Wed Sep  6 09:11:15 2006
@@ -42,5 +42,6 @@
             <module>wsdl2java</module>
             <module>java2wsdl</module>
             <module>misctools</module>            
+            <module>xjc</module>
     </modules>
 </project>

Added: incubator/cxf/trunk/tools/xjc/cfg-test/.checkstyle
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/xjc/cfg-test/.checkstyle?view=auto&rev=440753
==============================================================================
--- incubator/cxf/trunk/tools/xjc/cfg-test/.checkstyle (added)
+++ incubator/cxf/trunk/tools/xjc/cfg-test/.checkstyle Wed Sep  6 09:11:15 2006
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<fileset-config file-format-version="1.2.0" simple-config="false">
+    <fileset name="all" enabled="true" check-config-name="CXF Checks" local="false">
+        <file-match-pattern match-pattern="^src[/\\]." include-pattern="true"/>
+    </fileset>
+</fileset-config>

Added: incubator/cxf/trunk/tools/xjc/cfg-test/.pmd
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/xjc/cfg-test/.pmd?view=auto&rev=440753
==============================================================================
--- incubator/cxf/trunk/tools/xjc/cfg-test/.pmd (added)
+++ incubator/cxf/trunk/tools/xjc/cfg-test/.pmd Wed Sep  6 09:11:15 2006
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<pmd><useProjectRuleSet>true</useProjectRuleSet><rules/></pmd>
\ No newline at end of file

Added: incubator/cxf/trunk/tools/xjc/cfg-test/.ruleset
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/xjc/cfg-test/.ruleset?view=auto&rev=440753
==============================================================================
--- incubator/cxf/trunk/tools/xjc/cfg-test/.ruleset (added)
+++ incubator/cxf/trunk/tools/xjc/cfg-test/.ruleset Wed Sep  6 09:11:15 2006
@@ -0,0 +1,172 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ruleset name="pmd-eclipse">
+  <description>PMD Plugin preferences rule set</description>
+  
+  
+  <rule ref="rulesets/basic.xml/BooleanInstantiation"/>
+  <rule ref="rulesets/basic.xml/CollapsibleIfStatements"/>
+  <rule ref="rulesets/basic.xml/DoubleCheckedLocking"/>
+<!--<rule ref="rulesets/basic.xml/EmptyCatchBlock"/>-->
+<!--<rule ref="rulesets/basic.xml/EmptyFinallyBlock"/>-->
+<!--<rule ref="rulesets/basic.xml/EmptyIfStmt"/>-->
+  <rule ref="rulesets/basic.xml/EmptyStatementNotInLoop"/>
+<!--<rule ref="rulesets/basic.xml/EmptyStaticInitializer"/>-->
+<!--<rule ref="rulesets/basic.xml/EmptySwitchStatements"/>-->
+<!--<rule ref="rulesets/basic.xml/EmptySynchronizedBlock"/>-->
+<!--<rule ref="rulesets/basic.xml/EmptyTryBlock"/>-->
+<!--<rule ref="rulesets/basic.xml/EmptyWhileStmt"/>-->
+  <rule ref="rulesets/basic.xml/ForLoopShouldBeWhileLoop"/>
+  <rule ref="rulesets/basic.xml/JumbledIncrementer"/>
+<!--<rule ref="rulesets/basic.xml/OverrideBothEqualsAndHashcode"/>-->
+  <rule ref="rulesets/basic.xml/ReturnFromFinallyBlock"/>
+  <rule ref="rulesets/basic.xml/UnconditionalIfStatement"/>
+  <rule ref="rulesets/basic.xml/UnnecessaryConversionTemporary"/>
+  <rule ref="rulesets/basic.xml/UnnecessaryFinalModifier"/>
+  <rule ref="rulesets/basic.xml/UnnecessaryReturn"/>
+  <rule ref="rulesets/basic.xml/UselessOverridingMethod"/>
+  
+<!--<rule ref="rulesets/braces.xml/ForLoopsMustUseBraces"/>-->
+<!--<rule ref="rulesets/braces.xml/IfElseStmtsMustUseBraces"/>-->
+<!--<rule ref="rulesets/braces.xml/IfStmtsMustUseBraces"/>-->
+<!--<rule ref="rulesets/braces.xml/WhileLoopsMustUseBraces"/>-->
+
+<!--<rule ref="rulesets/clone.xml/CloneMethodMustImplementCloneable"/>-->
+<!--<rule ref="rulesets/clone.xml/CloneThrowsCloneNotSupportedException"/>-->
+<!--<rule ref="rulesets/clone.xml/ProperCloneImplementation"/>-->
+  
+<!--<rule ref="rulesets/codesize.xml/CyclomaticComplexity"/>-->
+<!--<rule ref="rulesets/codesize.xml/ExcessiveClassLength"/>-->
+<!--<rule ref="rulesets/codesize.xml/ExcessiveMethodLength"/>-->
+<!--<rule ref="rulesets/codesize.xml/ExcessiveParameterList"/>-->
+<!--<rule ref="rulesets/codesize.xml/ExcessivePublicCount"/>-->
+<!--<rule ref="rulesets/codesize.xml/TooManyFields"/>-->
+
+<rule ref="rulesets/controversial.xml/AssignmentInOperand"/>
+<!--<rule ref="rulesets/controversial.xml/AtLeastOneConstructor"/>-->
+<!--<rule ref="rulesets/controversial.xml/CallSuperInConstructor"/>-->
+<!--<rule ref="rulesets/controversial.xml/DontImportSun"/>-->
+<!--<rule ref="rulesets/controversial.xml/NullAssignment"/>-->
+<!--<rule ref="rulesets/controversial.xml/OnlyOneReturn"/>-->
+<!--<rule ref="rulesets/controversial.xml/SingularField"/>-->
+<!--<rule ref="rulesets/controversial.xml/SuspiciousOctalEscape"/>-->
+<!--<rule ref="rulesets/controversial.xml/UnnecessaryConstructor"/>-->
+<rule ref="rulesets/controversial.xml/UnnecessaryParentheses"/>
+<!--<rule ref="rulesets/controversial.xml/UnusedModifier"/>-->
+
+<!--<rule ref="rulesets/coupling.xml/CouplingBetweenObjects"/>-->
+<!--<rule ref="rulesets/coupling.xml/ExcessiveImports"/>-->
+<!--<rule ref="rulesets/coupling.xml/LooseCoupling"/>-->
+
+<!--<rule ref="rulesets/design.xml/AbstractClassWithoutAbstractMethod"/>-->
+<!--<rule ref="rulesets/design.xml/AccessorClassGeneration"/>-->
+<!--<rule ref="rulesets/design.xml/AssignmentToNonFinalStatic"/>-->
+<!--<rule ref="rulesets/design.xml/AvoidDeeplyNestedIfStmts"/>-->
+<!--<rule ref="rulesets/design.xml/AvoidInstanceofChecksInCatchClause"/>-->
+<rule ref="rulesets/design.xml/AvoidProtectedFieldInFinalClass"/>
+<!--<rule ref="rulesets/design.xml/AvoidReassigningParameters"/>-->
+<!--<rule ref="rulesets/design.xml/AvoidSynchronizedAtMethodLevel"/>-->
+<!--<rule ref="rulesets/design.xml/BadComparison"/>-->
+<!--<rule ref="rulesets/design.xml/CloseConnection"/>-->
+<!--<rule ref="rulesets/design.xml/CompareObjectsWithEquals"/>-->
+<!--<rule ref="rulesets/design.xml/ConfusingTernary"/>-->
+<rule ref="rulesets/design.xml/ConstructorCallsOverridableMethod"/>
+<!--<rule ref="rulesets/design.xml/DefaultLabelNotLastInSwitchStmt"/>-->
+<!--<rule ref="rulesets/design.xml/FinalFieldCouldBeStatic"/>-->
+<rule ref="rulesets/design.xml/IdempotentOperations"/>
+<!--<rule ref="rulesets/design.xml/ImmutableField"/>-->
+<!--<rule ref="rulesets/design.xml/InstantiationToGetClass"/>-->
+<!--<rule ref="rulesets/design.xml/MissingBreakInSwitch"/>-->
+<!--<rule ref="rulesets/design.xml/MissingStaticMethodInNonInstantiatableClass"/>-->
+<!--<rule ref="rulesets/design.xml/NonCaseLabelInSwitchStatement"/>-->
+<!--<rule ref="rulesets/design.xml/NonStaticInitializer"/>-->
+<rule ref="rulesets/design.xml/OptimizableToArrayCall"/>
+<rule ref="rulesets/design.xml/PositionLiteralsFirstInComparisons"/>
+<rule ref="rulesets/design.xml/SimplifyBooleanExpressions"/>
+<rule ref="rulesets/design.xml/SimplifyBooleanReturns"/>
+<rule ref="rulesets/design.xml/SimplifyConditional"/>
+<!--<rule ref="rulesets/design.xml/SwitchDensity"/>-->
+<!--<rule ref="rulesets/design.xml/SwitchStmtsShouldHaveDefault"/>-->
+<rule ref="rulesets/design.xml/UnnecessaryLocalBeforeReturn"/>
+<!--<rule ref="rulesets/design.xml/UseLocaleWithCaseConversions"/>-->
+<!--<rule ref="rulesets/design.xml/UseNotifyAllInsteadOfNotify"/>-->
+<!--<rule ref="rulesets/design.xml/UseSingleton"/>-->
+
+<!--<rule ref="rulesets/finalizers.xml/EmptyFinalizer"/>-->
+<!--<rule ref="rulesets/finalizers.xml/FinalizeOnlyCallsSuperFinalize"/>-->
+<!--<rule ref="rulesets/finalizers.xml/FinalizeOverloaded"/>-->
+<!--<rule ref="rulesets/finalizers.xml/FinalizeDoesNotCallSuperFinalize"/>-->
+<!--<rule ref="rulesets/finalizers.xml/FinalizeShouldBeProtected"/>-->
+<!--<rule ref="rulesets/finalizers.xml/AvoidCallingFinalize"/>-->
+
+<!--<rule ref="rulesets/imports.xml/DuplicateImports"/>-->
+<!--<rule ref="rulesets/imports.xml/DontImportJavaLang"/>-->
+<!--<rule ref="rulesets/imports.xml/UnusedImports"/>-->
+<!--<rule ref="rulesets/imports.xml/ImportFromSamePackage"/>-->
+
+<!--<rule ref="rulesets/javabeans.xml/BeanMembersShouldSerialize"/>-->
+<!--<rule ref="rulesets/javabeans.xml/MissingSerialVersionUID"/>-->
+
+<!--<rule ref="rulesets/junit.xml/JUnitStaticSuite"/>-->
+<!--<rule ref="rulesets/junit.xml/JUnitSpelling"/>-->
+<!--<rule ref="rulesets/junit.xml/JUnitAssertionsShouldIncludeMessage"/>-->
+<!--<rule ref="rulesets/junit.xml/JUnitTestsShouldIncludeAssert"/>-->
+<!--<rule ref="rulesets/junit.xml/TestClassWithoutTestCases"/>-->
+<!--<rule ref="rulesets/junit.xml/UnnecessaryBooleanAssertion"/>-->
+<!--<rule ref="rulesets/junit.xml/UseAssertEqualsInsteadOfAssertTrue"/>-->
+<!--<rule ref="rulesets/junit.xml/UseAssertSameInsteadOfAssertTrue"/>-->
+
+  <!--<rule ref="rulesets/logging-java.xml/AvoidPrintStackTrace"/>-->
+  <rule ref="rulesets/logging-java.xml/LoggerIsNotStaticFinal"/>
+  <!--<rule ref="rulesets/logging-java.xml/MoreThanOneLogger"/>-->
+  <!--<rule ref="rulesets/logging-java.xml/LoggerIsNotStaticFinal"/>-->
+  <!--<rule ref="rulesets/logging-java.xml/LogBlockWithoutIf"/>-->
+  <!--<rule ref="rulesets/logging-java.xml/SystemPrintln"/>-->
+  <!--<rule ref="rulesets/logging-jakarta-commons.xml/UseCorrectExceptionLogging"/>-->
+  <!--<rule ref="rulesets/logging-jakarta-commons.xml/ProperLogger"/>-->
+  
+  <!--<rule ref="rulesets/naming.xml/ShortVariable"/>-->
+  <!--<rule ref="rulesets/naming.xml/LongVariable"/>-->
+  <!--<rule ref="rulesets/naming.xml/ShortMethodName"/>-->
+  <!--<rule ref="rulesets/naming.xml/VariableNamingConventions"/>-->
+  <!--<rule ref="rulesets/naming.xml/MethodNamingConventions"/>-->
+  <!--<rule ref="rulesets/naming.xml/ClassNamingConventions"/>-->
+  <!--<rule ref="rulesets/naming.xml/AbstractNaming"/>-->
+  <!--<rule ref="rulesets/naming.xml/AvoidDollarSigns"/>-->
+  <!--<rule ref="rulesets/naming.xml/MethodWithSameNameAsEnclosingClass"/>-->
+  <!--<rule ref="rulesets/naming.xml/SuspiciousHashcodeMethodName"/>-->
+  <!--<rule ref="rulesets/naming.xml/SuspiciousConstantFieldName"/>-->
+  <!--<rule ref="rulesets/naming.xml/AvoidFieldNameMatchingTypeName"/>-->
+  <!--<rule ref="rulesets/naming.xml/AvoidFieldNameMatchingMethodName"/>-->
+  <!--<rule ref="rulesets/naming.xml/AvoidNonConstructorMethodsWithClassName"/>-->
+  <!--<rule ref="rulesets/naming.xml/NoPackage"/>-->
+  <!--<rule ref="rulesets/naming.xml/PackageCase"/>-->
+
+  <!--<rule ref="rulesets/optimizations.xml/LocalVariableCouldBeFinal"/>-->
+  <!--<rule ref="rulesets/optimizations.xml/MethodArgumentCouldBeFinal"/>-->
+  <!--<rule ref="rulesets/optimizations.xml/AvoidInstantiatingObjectsInLoops"/>-->
+  <!--<rule ref="rulesets/optimizations.xml/UseArrayListInsteadOfVector"/>-->
+  <!--<rule ref="rulesets/optimizations.xml/SimplifyStartsWith"/>-->
+  <!--<rule ref="rulesets/optimizations.xml/UseStringBufferForStringAppends"/>-->
+
+  <!--<rule ref="rulesets/strictexception.xml/AvoidCatchingThrowable"/>-->
+  <!--<rule ref="rulesets/strictexception.xml/SignatureDeclareThrowsException"/>-->
+  <!--<rule ref="rulesets/strictexception.xml/ExceptionAsFlowControl"/>-->
+  <!--<rule ref="rulesets/strictexception.xml/AvoidCatchingNPE"/>-->
+  <!--<rule ref="rulesets/strictexception.xml/AvoidThrowingRawExceptionTypes"/>-->
+  <!--<rule ref="rulesets/strictexception.xml/AvoidThrowingNullPointerException"/>-->
+ 
+  <!--<rule ref="rulesets/strings.xml/AvoidDuplicateLiterals"/>-->
+  <!--<rule ref="rulesets/strings.xml/StringInstantiation"/>-->
+  <!--<rule ref="rulesets/strings.xml/StringToString"/>-->
+  <!--<rule ref="rulesets/strings.xml/AvoidConcatenatingNonLiteralsInStringBuffer"/>-->
+  <!--<rule ref="rulesets/strings.xml/UnnecessaryCaseChange"/>-->
+  
+  <!--<rule ref="rulesets/sunsecure.xml/MethodReturnsInternalArray"/>-->
+  <!--<rule ref="rulesets/sunsecure.xml/ArrayIsStoredDirectly"/>-->
+  
+  <rule ref="rulesets/unusedcode.xml/UnusedLocalVariable"/>
+  <rule ref="rulesets/unusedcode.xml/UnusedPrivateField"/>
+  <rule ref="rulesets/unusedcode.xml/UnusedPrivateMethod"/>
+  <!--<rule ref="rulesets/unusedcode.xml/UnusedFormalParameter"/>-->
+  
+</ruleset>



Mime
View raw message