[webbeans-commits] Webbeans SVN: r1621 - in tck/trunk: impl/src/main/java/org/jboss/jsr299/tck and 1 other directory.
webbeans-commits at lists.jboss.org
webbeans-commits at lists.jboss.org
Sat Feb 21 15:57:56 EST 2009
Author: pete.muir at jboss.org
Date: 2009-02-21 15:57:56 -0500 (Sat, 21 Feb 2009)
New Revision: 1621
Modified:
tck/trunk/api/src/main/java/org/jboss/jsr299/tck/spi/Beans.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/AbstractTest.java
Log:
remove createProducerMethod
Modified: tck/trunk/api/src/main/java/org/jboss/jsr299/tck/spi/Beans.java
===================================================================
--- tck/trunk/api/src/main/java/org/jboss/jsr299/tck/spi/Beans.java 2009-02-21 20:54:45 UTC (rev 1620)
+++ tck/trunk/api/src/main/java/org/jboss/jsr299/tck/spi/Beans.java 2009-02-21 20:57:56 UTC (rev 1621)
@@ -1,7 +1,5 @@
package org.jboss.jsr299.tck.spi;
-import java.lang.reflect.Method;
-
import javax.inject.manager.Bean;
/**
@@ -51,26 +49,6 @@
public <T> Bean<T> createEnterpriseBean(Class<T> clazz);
/**
- * Create a new producer method bean from the given method. The simple or
- * enterprise bean on which the method is declared is provided.
- *
- * The declaringBean is a simple or enterprise bean that has been created by
- * calling {@link #createSimpleBean(Class)} or
- * {@link #createEnterpriseBean(Class)}.
- *
- * @param <T> the type of the bean
- * @param method the producer method
- * @param declaringBean the simple or enterprise bean which declares this
- * producer method
- * @return the producer bean
- *
- * Deprecated, {@link StandaloneContainers#deploy(Iterable, Iterable)} should
- * be used. This method will be removed when the TCK is released.
- */
- @Deprecated
- public <T> Bean<T> createProducerMethodBean(Method method, Bean<?> declaringBean);
-
- /**
* Tests whether the given class is declaring an Enterprise Bean.
*
* @param clazz the type of bean being tested
Modified: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/AbstractTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/AbstractTest.java 2009-02-21 20:54:45 UTC (rev 1620)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/AbstractTest.java 2009-02-21 20:57:56 UTC (rev 1621)
@@ -6,7 +6,6 @@
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.lang.annotation.Annotation;
-import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
@@ -81,12 +80,6 @@
{
return getCurrentConfiguration().getBeans().createEnterpriseBean(beanClass);
}
-
- @Deprecated
- public <T> Bean<T> createProducerMethodBean(Method method, Bean<?> producerBean)
- {
- return getCurrentConfiguration().getBeans().createProducerMethodBean(method, producerBean);
- }
/**
* Used to deploy simple beans in a standalone container.
More information about the weld-commits
mailing list