You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aries.apache.org by li...@apache.org on 2010/04/30 20:40:03 UTC
svn commit: r939771 -
/incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Properties.java
Author: linsun
Date: Fri Apr 30 18:40:03 2010
New Revision: 939771
URL: http://svn.apache.org/viewvc?rev=939771&view=rev
Log:
[blueprint annotation]add property annotation for service properties
Added:
incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Properties.java (with props)
Added: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Properties.java
URL: http://svn.apache.org/viewvc/incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Properties.java?rev=939771&view=auto
==============================================================================
--- incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Properties.java (added)
+++ incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Properties.java Fri Apr 30 18:40:03 2010
@@ -0,0 +1,36 @@
+/**
+ * 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.aries.blueprint.annotation;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Target(ElementType.TYPE)
+@Retention(RetentionPolicy.RUNTIME)
+public @interface Properties {
+ /**
+ * the key of the property
+ */
+ String key() default "";
+
+ /**
+ * the value of the property
+ */
+ String value() default "";
+}
Propchange: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Properties.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Properties.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: incubator/aries/sandbox/linsun/blueprint/blueprint-annotation-api/src/main/java/org/apache/aries/blueprint/annotation/Properties.java
------------------------------------------------------------------------------
svn:mime-type = text/plain