[webbeans-commits] Webbeans SVN: r2719 - ri/trunk/api/src/main/java/javax/enterprise/inject.

webbeans-commits at lists.jboss.org webbeans-commits at lists.jboss.org
Wed May 27 04:44:23 EDT 2009


Author: dallen6
Date: 2009-05-27 04:44:23 -0400 (Wed, 27 May 2009)
New Revision: 2719

Added:
   ri/trunk/api/src/main/java/javax/enterprise/inject/Any.java
Log:
Added the @Any annotation.

Added: ri/trunk/api/src/main/java/javax/enterprise/inject/Any.java
===================================================================
--- ri/trunk/api/src/main/java/javax/enterprise/inject/Any.java	                        (rev 0)
+++ ri/trunk/api/src/main/java/javax/enterprise/inject/Any.java	2009-05-27 08:44:23 UTC (rev 2719)
@@ -0,0 +1,45 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * Licensed 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.enterprise.inject;
+
+import static java.lang.annotation.ElementType.FIELD;
+import static java.lang.annotation.ElementType.METHOD;
+import static java.lang.annotation.ElementType.PARAMETER;
+import static java.lang.annotation.ElementType.TYPE;
+import static java.lang.annotation.RetentionPolicy.RUNTIME;
+
+import java.lang.annotation.Documented;
+import java.lang.annotation.Retention;
+import java.lang.annotation.Target;
+
+/**
+ * A built-in binding type that is implicitly applied to all beans which do not
+ * have the {@link New} built-in binding type.
+ * 
+ * @author Gavin King
+ * @author David Allen
+ */
+
+ at BindingType
+ at Retention(RUNTIME)
+ at Target( { TYPE, METHOD, FIELD, PARAMETER })
+ at Documented
+public @interface Any
+{
+
+}


Property changes on: ri/trunk/api/src/main/java/javax/enterprise/inject/Any.java
___________________________________________________________________
Name: svn:mime-type
   + text/plain




More information about the weld-commits mailing list