Return-Path: X-Original-To: apmail-tamaya-commits-archive@minotaur.apache.org Delivered-To: apmail-tamaya-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0408F105FD for ; Fri, 13 Feb 2015 20:03:12 +0000 (UTC) Received: (qmail 39760 invoked by uid 500); 13 Feb 2015 20:03:11 -0000 Delivered-To: apmail-tamaya-commits-archive@tamaya.apache.org Received: (qmail 39735 invoked by uid 500); 13 Feb 2015 20:03:11 -0000 Mailing-List: contact commits-help@tamaya.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tamaya.incubator.apache.org Delivered-To: mailing list commits@tamaya.incubator.apache.org Received: (qmail 39725 invoked by uid 99); 13 Feb 2015 20:03:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Feb 2015 20:03:11 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 13 Feb 2015 20:03:10 +0000 Received: (qmail 38455 invoked by uid 99); 13 Feb 2015 20:02:50 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Feb 2015 20:02:50 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id DA860E07EC; Fri, 13 Feb 2015 20:02:49 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: plexus@apache.org To: commits@tamaya.incubator.apache.org Message-Id: <9a03bc8818354bafada3f673deaf1df3@git.apache.org> X-Mailer: ASF-Git Admin Mailer 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 +0000 (UTC) X-Virus-Checked: Checked by ClamAV on apache.org 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 Authored: Fri Feb 13 21:01:46 2015 +0100 Committer: Oliver B. Fischer 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 @@ + + + 4.0.0 + + + org.apache.tamaya.ext + tamaya-extensions + 0.1-incubating-SNAPSHOT + + + tamaya-apiextensions + Apache Tamaya API Extensions + + + + org.apache.tamaya + tamaya-api + ${project.version} + + + + + \ 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. builder + apiextensions injection json