[weld-commits] Weld SVN: r6173 - in extensions/trunk/src: main/java/org/jboss/weld/extensions/managedproducer and 1 other directories.

weld-commits at lists.jboss.org weld-commits at lists.jboss.org
Wed Apr 28 08:47:11 EDT 2010


Author: pete.muir at jboss.org
Date: 2010-04-28 08:47:09 -0400 (Wed, 28 Apr 2010)
New Revision: 6173

Added:
   extensions/trunk/src/main/java/org/jboss/weld/extensions/ManagedProducer.java
Removed:
   extensions/trunk/src/main/java/org/jboss/weld/extensions/annotations/
Modified:
   extensions/trunk/src/main/java/org/jboss/weld/extensions/managedproducer/ManagedProducerExtension.java
   extensions/trunk/src/test/java/org/jboss/weld/test/extensions/managedproducer/BeanProducer.java
Log:
WELDX-98

Copied: extensions/trunk/src/main/java/org/jboss/weld/extensions/ManagedProducer.java (from rev 6171, extensions/trunk/src/main/java/org/jboss/weld/extensions/annotations/ManagedProducer.java)
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/ManagedProducer.java	                        (rev 0)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/ManagedProducer.java	2010-04-28 12:47:09 UTC (rev 6173)
@@ -0,0 +1,29 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, Red Hat, Inc., 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 org.jboss.weld.extensions;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+ at Retention(RetentionPolicy.RUNTIME)
+ at Target(value = { ElementType.METHOD })
+public @interface ManagedProducer
+{
+
+}

Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/managedproducer/ManagedProducerExtension.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/managedproducer/ManagedProducerExtension.java	2010-04-28 12:45:29 UTC (rev 6172)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/managedproducer/ManagedProducerExtension.java	2010-04-28 12:47:09 UTC (rev 6173)
@@ -26,7 +26,7 @@
 import javax.enterprise.inject.spi.Extension;
 import javax.enterprise.inject.spi.ProcessAnnotatedType;
 
-import org.jboss.weld.extensions.annotations.ManagedProducer;
+import org.jboss.weld.extensions.ManagedProducer;
 
 /**
  * An extension that allows the use of @ManagedProducer methods

Modified: extensions/trunk/src/test/java/org/jboss/weld/test/extensions/managedproducer/BeanProducer.java
===================================================================
--- extensions/trunk/src/test/java/org/jboss/weld/test/extensions/managedproducer/BeanProducer.java	2010-04-28 12:45:29 UTC (rev 6172)
+++ extensions/trunk/src/test/java/org/jboss/weld/test/extensions/managedproducer/BeanProducer.java	2010-04-28 12:47:09 UTC (rev 6173)
@@ -18,7 +18,7 @@
 
 import javax.enterprise.inject.spi.InjectionPoint;
 
-import org.jboss.weld.extensions.annotations.ManagedProducer;
+import org.jboss.weld.extensions.ManagedProducer;
 
 public class BeanProducer
 {



More information about the weld-commits mailing list