openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gerdo...@apache.org
Subject svn commit: r732456 - /incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/servlet/TestContext.java
Date Wed, 07 Jan 2009 20:05:05 GMT
Author: gerdogdu
Date: Wed Jan  7 12:05:05 2009
New Revision: 732456

URL: http://svn.apache.org/viewvc?rev=732456&view=rev
Log:
defineXMLSimpleWebBeans return type is changed.

Modified:
    incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/servlet/TestContext.java

Modified: incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/servlet/TestContext.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/servlet/TestContext.java?rev=732456&r1=732455&r2=732456&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/servlet/TestContext.java
(original)
+++ incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/servlet/TestContext.java
Wed Jan  7 12:05:05 2009
@@ -316,7 +316,7 @@
 	 * @param simpleClass webbeans class
 	 * @param webBeanDecleration element decleration defines simple webbeans
 	 */
-	protected <T> void defineXMLSimpleWebBeans(Class<T> simpleClass, Element webBeanDecleration)
+	protected <T> XMLComponentImpl<T> defineXMLSimpleWebBeans(Class<T> simpleClass,
Element webBeanDecleration)
 	{
 		XMLComponentImpl<T> bean = null;
 		bean = this.xmlConfigurator.configureSimpleWebBean(simpleClass, webBeanDecleration);
@@ -326,6 +326,8 @@
 			getComponents().add(bean);
 			manager.addBean(bean);
 		}
+		
+		return bean;
 	}
 	
 	



Mime
View raw message