tamaya-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ple...@apache.org
Subject incubator-tamaya git commit: Added module for API extensions which are currently not part of the main API. JavaDoc will follow.
Date Fri, 13 Feb 2015 20:02:49 GMT
Repository: incubator-tamaya
Updated Branches:
  refs/heads/master 39cddb0bc -> cf8eb0eab


Added module for API extensions which are currently not part of the main API. JavaDoc will
follow.


Project: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/commit/cf8eb0ea
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/tree/cf8eb0ea
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/diff/cf8eb0ea

Branch: refs/heads/master
Commit: cf8eb0eabf17ca482075f56f15402afd0eb7520b
Parents: 39cddb0
Author: Oliver B. Fischer <plexus@apache.org>
Authored: Fri Feb 13 21:01:46 2015 +0100
Committer: Oliver B. Fischer <plexus@apache.org>
Committed: Fri Feb 13 21:01:46 2015 +0100

----------------------------------------------------------------------
 modules/apiextensions/pom.xml                   | 25 +++++++++++++++++
 .../api/PropertySourceFactory.java              | 29 ++++++++++++++++++++
 modules/pom.xml                                 |  1 +
 3 files changed, 55 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/cf8eb0ea/modules/apiextensions/pom.xml
----------------------------------------------------------------------
diff --git a/modules/apiextensions/pom.xml b/modules/apiextensions/pom.xml
new file mode 100644
index 0000000..881fc4b
--- /dev/null
+++ b/modules/apiextensions/pom.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.apache.tamaya.ext</groupId>
+        <artifactId>tamaya-extensions</artifactId>
+        <version>0.1-incubating-SNAPSHOT</version>
+    </parent>
+
+    <artifactId>tamaya-apiextensions</artifactId>
+    <name>Apache Tamaya API Extensions</name>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.tamaya</groupId>
+            <artifactId>tamaya-api</artifactId>
+            <version>${project.version}</version>
+        </dependency>
+    </dependencies>
+
+    
+</project>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/cf8eb0ea/modules/apiextensions/src/main/java/org/apache/tamaya/modules/apiextensions/api/PropertySourceFactory.java
----------------------------------------------------------------------
diff --git a/modules/apiextensions/src/main/java/org/apache/tamaya/modules/apiextensions/api/PropertySourceFactory.java
b/modules/apiextensions/src/main/java/org/apache/tamaya/modules/apiextensions/api/PropertySourceFactory.java
new file mode 100644
index 0000000..147548f
--- /dev/null
+++ b/modules/apiextensions/src/main/java/org/apache/tamaya/modules/apiextensions/api/PropertySourceFactory.java
@@ -0,0 +1,29 @@
+/*
+ * 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.tamaya.modules.apiextensions.api;
+
+import org.apache.tamaya.spi.PropertySource;
+
+import java.net.URL;
+
+public interface PropertySourceFactory {
+    boolean acceptable(URL url);
+
+    PropertySource get(URL url);
+}

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/cf8eb0ea/modules/pom.xml
----------------------------------------------------------------------
diff --git a/modules/pom.xml b/modules/pom.xml
index cbe1d92..5b5d9a2 100644
--- a/modules/pom.xml
+++ b/modules/pom.xml
@@ -35,6 +35,7 @@ under the License.
 
     <modules>
         <module>builder</module>
+        <module>apiextensions</module>
         <module>injection</module>
         <!--<module>formats</module>-->
         <module>json</module>


Mime
View raw message