[webbeans-commits] Webbeans SVN: r3611 - tck/trunk/api/src/main/java/org/jboss/jsr299/tck/spi.

webbeans-commits at lists.jboss.org webbeans-commits at lists.jboss.org
Thu Aug 27 19:05:37 EDT 2009


Author: pete.muir at jboss.org
Date: 2009-08-27 19:05:37 -0400 (Thu, 27 Aug 2009)
New Revision: 3611

Modified:
   tck/trunk/api/src/main/java/org/jboss/jsr299/tck/spi/Beans.java
Log:
Remove uneeded methods

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-08-27 16:30:29 UTC (rev 3610)
+++ tck/trunk/api/src/main/java/org/jboss/jsr299/tck/spi/Beans.java	2009-08-27 23:05:37 UTC (rev 3611)
@@ -19,39 +19,6 @@
    public static final String PROPERTY_NAME = Beans.class.getName();
    
    /**
-    * Tests whether the given class is declaring an Enterprise Bean.
-    * 
-    * @param clazz the type of bean being tested
-    * 
-    * @return true only if class declares an Enterprise Bean
-    */
-   public boolean isEnterpriseBean(Class<?> clazz);
-
-   /**
-    * Tests whether the given class is declaring a stateful session bean.
-    * 
-    * @param clazz the type being tested
-    * @return true only if class declares a stateful session bean
-    */
-   public boolean isStatefulBean(Class<?> clazz);
-
-   /**
-    * Tests whether the given class is declaring a stateless session bean.
-    * 
-    * @param clazz the type being tested
-    * @return true only if class declares a stateless session bean
-    */
-   public boolean isStatelessBean(Class<?> clazz);
-
-   /**
-    * Tests whether the given class is declaring an entity bean.
-    * 
-    * @param clazz the type being tested
-    * @return true only if class declares an entity bean
-    */
-   public boolean isEntityBean(Class<?> clazz);
-   
-   /**
     * Determines if the object instance is actually a proxy object.
     * 
     * @param instance The object which might be a proxy
@@ -59,15 +26,4 @@
     */
    public boolean isProxy(Object instance);
    
-   /**
-    * Retrieves the EJB which implements the local interface provided.
-    * 
-    * @param <T> The local interface type
-    * @param beanType The class of the EJB implementing bean
-    * @param localInterface The business interface of the bean proxy to return
-    * @return the EJB proxy from the container
-    */
-   @Deprecated
-   public <T> T getEnterpriseBean(Class<? extends T> beanType, Class<T> localInterface);
-   
 }




More information about the weld-commits mailing list