sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject svn commit: r1385287 - /incubator/sis/trunk/sis-utility/src/main/java/org/apache/sis/util/Configuration.java
Date Sun, 16 Sep 2012 15:46:11 GMT
Author: desruisseaux
Date: Sun Sep 16 15:46:10 2012
New Revision: 1385287

URL: http://svn.apache.org/viewvc?rev=1385287&view=rev
Log:
Added a simple annotation for keeping trace of method performing global configuration of the
SIS library.

Added:
    incubator/sis/trunk/sis-utility/src/main/java/org/apache/sis/util/Configuration.java 
 (with props)

Added: incubator/sis/trunk/sis-utility/src/main/java/org/apache/sis/util/Configuration.java
URL: http://svn.apache.org/viewvc/incubator/sis/trunk/sis-utility/src/main/java/org/apache/sis/util/Configuration.java?rev=1385287&view=auto
==============================================================================
--- incubator/sis/trunk/sis-utility/src/main/java/org/apache/sis/util/Configuration.java (added)
+++ incubator/sis/trunk/sis-utility/src/main/java/org/apache/sis/util/Configuration.java Sun
Sep 16 15:46:10 2012
@@ -0,0 +1,39 @@
+/*
+ * 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.sis.util;
+
+import java.lang.annotation.Target;
+import java.lang.annotation.Retention;
+import java.lang.annotation.Documented;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.RetentionPolicy;
+
+
+/**
+ * Annotates methods having a system-wide impact on the configuration of the Apache SIS library.
+ * See "<cite>Use</cite>" javadoc link for a list of annotated methods.
+ *
+ * @author  Martin Desruisseaux (IRD, Geomatys)
+ * @since   0.3 (derived from geotk-3.00)
+ * @version 0.3
+ * @module
+ */
+@Documented
+@Target(ElementType.METHOD)
+@Retention(RetentionPolicy.SOURCE)
+public @interface Configuration {
+}

Propchange: incubator/sis/trunk/sis-utility/src/main/java/org/apache/sis/util/Configuration.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/sis/trunk/sis-utility/src/main/java/org/apache/sis/util/Configuration.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain



Mime
View raw message