[seam-commits] Seam SVN: r9917 - trunk/src/ioc/org/jboss/seam/ioc/spring.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Mon Jan 12 13:14:16 EST 2009


Author: norman.richards at jboss.com
Date: 2009-01-12 13:14:16 -0500 (Mon, 12 Jan 2009)
New Revision: 9917

Modified:
   trunk/src/ioc/org/jboss/seam/ioc/spring/SeamComponentPostProcessor.java
Log:
JBSEAM-3787

Modified: trunk/src/ioc/org/jboss/seam/ioc/spring/SeamComponentPostProcessor.java
===================================================================
--- trunk/src/ioc/org/jboss/seam/ioc/spring/SeamComponentPostProcessor.java	2009-01-11 21:38:57 UTC (rev 9916)
+++ trunk/src/ioc/org/jboss/seam/ioc/spring/SeamComponentPostProcessor.java	2009-01-12 18:14:16 UTC (rev 9917)
@@ -26,9 +26,9 @@
 	public Object postProcessAfterInitialization(final Object bean, String beanName) throws BeansException 
     {
         // Check to see if this bean is a component.
-		Component component = SpringComponent.forSpringBeanName(beanName);
+		SpringComponent component = SpringComponent.forSpringBeanName(beanName);
 		// Not a spring component skip.
-		if (component == null || !(component instanceof SpringComponent)) 
+		if (component == null) 
         {
 			return bean;
 		}




More information about the seam-commits mailing list