You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2013/09/09 12:36:09 UTC

svn commit: r1521032 - in /tomcat/trunk/java/javax/annotation: ManagedBean.java sql/ sql/DataSourceDefinition.java sql/DataSourceDefinitions.java

Author: markt
Date: Mon Sep  9 10:36:09 2013
New Revision: 1521032

URL: http://svn.apache.org/r1521032
Log:
Partial fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=55534
Commons Annotations 1.1 changes

Added:
    tomcat/trunk/java/javax/annotation/ManagedBean.java   (with props)
    tomcat/trunk/java/javax/annotation/sql/
    tomcat/trunk/java/javax/annotation/sql/DataSourceDefinition.java   (with props)
    tomcat/trunk/java/javax/annotation/sql/DataSourceDefinitions.java   (with props)

Added: tomcat/trunk/java/javax/annotation/ManagedBean.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/javax/annotation/ManagedBean.java?rev=1521032&view=auto
==============================================================================
--- tomcat/trunk/java/javax/annotation/ManagedBean.java (added)
+++ tomcat/trunk/java/javax/annotation/ManagedBean.java Mon Sep  9 10:36:09 2013
@@ -0,0 +1,31 @@
+/*
+ * 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 javax.annotation;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+/**
+ * @since Common Annotations 1.1
+ */
+@Target({ElementType.TYPE})
+@Retention(RetentionPolicy.RUNTIME)
+public @interface ManagedBean {
+    String value() default "";
+}

Propchange: tomcat/trunk/java/javax/annotation/ManagedBean.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: tomcat/trunk/java/javax/annotation/sql/DataSourceDefinition.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/javax/annotation/sql/DataSourceDefinition.java?rev=1521032&view=auto
==============================================================================
--- tomcat/trunk/java/javax/annotation/sql/DataSourceDefinition.java (added)
+++ tomcat/trunk/java/javax/annotation/sql/DataSourceDefinition.java Mon Sep  9 10:36:09 2013
@@ -0,0 +1,31 @@
+/*
+ * 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 javax.annotation.sql;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+/**
+ * @since Common Annotations 1.1
+ */
+@Target({ElementType.TYPE})
+@Retention(RetentionPolicy.RUNTIME)
+public @interface DataSourceDefinition {
+    String value();
+}

Propchange: tomcat/trunk/java/javax/annotation/sql/DataSourceDefinition.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: tomcat/trunk/java/javax/annotation/sql/DataSourceDefinitions.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/javax/annotation/sql/DataSourceDefinitions.java?rev=1521032&view=auto
==============================================================================
--- tomcat/trunk/java/javax/annotation/sql/DataSourceDefinitions.java (added)
+++ tomcat/trunk/java/javax/annotation/sql/DataSourceDefinitions.java Mon Sep  9 10:36:09 2013
@@ -0,0 +1,31 @@
+/*
+ * 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 javax.annotation.sql;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+/**
+ * @since Common Annotations 1.1
+ */
+@Target({ElementType.TYPE})
+@Retention(RetentionPolicy.RUNTIME)
+public @interface DataSourceDefinitions {
+    DataSourceDefinition[] value();
+}

Propchange: tomcat/trunk/java/javax/annotation/sql/DataSourceDefinitions.java
------------------------------------------------------------------------------
    svn:eol-style = native



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org