You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@river.apache.org by si...@apache.org on 2011/01/12 10:50:03 UTC

svn commit: r1058036 - /incubator/river/jtsk/trunk/src/org/apache/river/config/ConfigurationFactory.java

Author: sijskes
Date: Wed Jan 12 09:50:02 2011
New Revision: 1058036

URL: http://svn.apache.org/viewvc?rev=1058036&view=rev
Log:
added factory, changed package names

Added:
    incubator/river/jtsk/trunk/src/org/apache/river/config/ConfigurationFactory.java

Added: incubator/river/jtsk/trunk/src/org/apache/river/config/ConfigurationFactory.java
URL: http://svn.apache.org/viewvc/incubator/river/jtsk/trunk/src/org/apache/river/config/ConfigurationFactory.java?rev=1058036&view=auto
==============================================================================
--- incubator/river/jtsk/trunk/src/org/apache/river/config/ConfigurationFactory.java (added)
+++ incubator/river/jtsk/trunk/src/org/apache/river/config/ConfigurationFactory.java Wed Jan 12 09:50:02 2011
@@ -0,0 +1,35 @@
+/*
+ * 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.river.config;
+
+import net.jini.config.Configuration;
+
+/**
+ *
+ * @author sim
+ */
+public interface ConfigurationFactory
+{
+    /**
+     * Create a Configuration.
+     * @return a Configuration
+     * @throws Exception
+     */
+    Configuration createConfiguration() throws Exception ;
+}