You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwebbeans.apache.org by ge...@apache.org on 2009/01/27 22:46:53 UTC
svn commit: r738254 -
/incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/inject/manager/Bean.java
Author: gerdogdu
Date: Tue Jan 27 21:46:52 2009
New Revision: 738254
URL: http://svn.apache.org/viewvc?rev=738254&view=rev
Log:
OWB-54 getBindings() is reflected.
Modified:
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/inject/manager/Bean.java
Modified: incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/inject/manager/Bean.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/inject/manager/Bean.java?rev=738254&r1=738253&r2=738254&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/inject/manager/Bean.java (original)
+++ incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/inject/manager/Bean.java Tue Jan 27 21:46:52 2009
@@ -17,7 +17,6 @@
import java.util.Set;
import javax.context.Contextual;
-import javax.context.CreationalContext;
/**
* Web Beans component contract.
@@ -59,7 +58,7 @@
*
* @return the binding types
*/
- public abstract Set<Annotation> getBindingTypes();
+ public abstract Set<Annotation> getBindings();
/**
* Gets the scope type of the web beans component.
@@ -82,23 +81,7 @@
*/
public abstract String getName();
- /**
- * Creates the new web beans component instance.
- *
- * @param container web beans container
- * @return the new web beans component instance
- */
- public abstract T create(CreationalContext<T> context);
-
- /**
- * Destoy the precreated web beans component instance.
- *
- * @param container web beans container
- * @param instance web beans component instance
- */
- public abstract void destroy(T instance);
-
- /**
+ /**
* True if serializable.
*
* @return true if serializable