openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gerdo...@apache.org
Subject svn commit: r833692 - /incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/enterprise/inject/spi/BeanManager.java
Date Sat, 07 Nov 2009 15:03:57 GMT
Author: gerdogdu
Date: Sat Nov  7 15:03:57 2009
New Revision: 833692

URL: http://svn.apache.org/viewvc?rev=833692&view=rev
Log:
Update for latest specification Beanmanager.Remove getMostSpecializedBean method.

Modified:
    incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/enterprise/inject/spi/BeanManager.java

Modified: incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/enterprise/inject/spi/BeanManager.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/enterprise/inject/spi/BeanManager.java?rev=833692&r1=833691&r2=833692&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/enterprise/inject/spi/BeanManager.java
(original)
+++ incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/enterprise/inject/spi/BeanManager.java
Sat Nov  7 15:03:57 2009
@@ -25,6 +25,7 @@
 import java.util.Set;
 
 import javax.el.ELResolver;
+import javax.el.ExpressionFactory;
 import javax.enterprise.context.spi.Context;
 import javax.enterprise.context.spi.Contextual;
 import javax.enterprise.context.spi.CreationalContext;
@@ -111,16 +112,7 @@
      * @return set of beans with given name
      */
     public Set<Bean<?>> getBeans(String name);    
-    
-    /**
-     * Returns bean's most specialized bean object.
-     * 
-     * @param <X> bean class type info
-     * @param bean bean object
-     * @return bean's most specialized bean object
-     */
-    public <X> Bean<? extends X> getMostSpecializedBean(Bean<X> bean);
-    
+        
     /**
      * Returns passivation capable bean given id.
      * 
@@ -291,4 +283,11 @@
      * @return injection target
      */
     public <T> InjectionTarget<T> createInjectionTarget(AnnotatedType<T>
type);
+    
+    /**
+     * Wrapped around given expression factory.
+     * @param expressionFactory expression factory
+     * @return wrapped expression factory
+     */
+    public ExpressionFactory wrapExpressionFactory(javax.el.ExpressionFactory expressionFactory);
 }
\ No newline at end of file



Mime
View raw message