[jboss-user] [JBoss/Spring Integration] - Re: jboss-spring.xml beans location

loumaus do-not-reply at jboss.com
Fri Jul 6 11:16:21 EDT 2007


mmmhhh


  | <bean 	id="catalogService" class="foo.bar.service.DefaultCatalogService" >
  | 		<property name="catalogDao">
  | 			<ref local="catalogDao"/>
  | 		</property>
  | 	</bean>
  | 

does not work as well .. 

I already removed the autowire="byType" attribute as it did not work neither.. 

that was the only reason I was asking about the deployer ... 

what worries me a bit is that everything seems to startup properly:


  | 2007-07-06 17:08:49,866 DEBUG [org.springframework.beans.CachedIntrospectionResults] Not strongly caching class [foo.bar.dao.DefaultCatalogDao] because it is not cache-safe
  | 2007-07-06 17:08:49,866 DEBUG [org.springframework.beans.factory.support.DefaultListableBeanFactory] Eagerly caching bean 'catalogDao' to allow for resolving potential circular references
  | 2007-07-06 17:08:49,870 DEBUG [org.springframework.beans.factory.support.DefaultListableBeanFactory] Returning cached instance of singleton bean 'entityManagerFactory'
  | 2007-07-06 17:08:49,906 DEBUG [org.springframework.beans.factory.support.DefaultListableBeanFactory] Creating shared instance of singleton bean 'catalogService'
  | 2007-07-06 17:08:49,906 DEBUG [org.springframework.beans.factory.support.DefaultListableBeanFactory] Creating instance of bean 'catalogService' with merged definition [Root bean: class [foo.bar.servic
  | e.DefaultCatalogService]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyM
  | ethodName=null; defined in URL [jar:file:/home/tmaus/server/jboss-4.0.5.GA/server/default/tmp/deploy/tmp54823catalog.ear-contents/catalog-spring.spring!/META-INF/jboss-spring.xml]]
  | 2007-07-06 17:08:49,908 DEBUG [org.springframework.beans.CachedIntrospectionResults] Not strongly caching class [foo-bar.service.DefaultCatalogService] because it is not cache-safe
  | 2007-07-06 17:08:49,908 DEBUG [org.springframework.beans.factory.support.DefaultListableBeanFactory] Eagerly caching bean 'catalogService' to allow for resolving potential circular references
  | 2007-07-06 17:08:49,909 DEBUG [org.springframework.beans.factory.support.DefaultListableBeanFactory] Returning cached instance of singleton bean 'catalogDao'
  | 2007-07-06 17:08:49,909 DEBUG [org.jboss.spring.factory.NamedXmlApplicationContext] Publishing event in context [org.jboss.spring.factory.NamedXmlApplicationContext;hashCode=27471825]: org.springframework.cont
  | ext.event.ContextRefreshedEvent[source=org.jboss.spring.factory.NamedXmlApplicationContext: display name [org.jboss.spring.factory.NamedXmlApplicationContext;hashCode=27471825]; startup date [Fri Jul 06 17:08:
  | 48 CEST 2007]; root of context hierarchy]
  | 
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061354#4061354

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061354



More information about the jboss-user mailing list