You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Krutyakov Roman <ma...@rs.com.ua> on 2005/03/03 10:40:31 UTC

Re: Tapestry3.1-alpha Spring bean injection

В Чтв, 24/02/2005 в 11:01 -0500, Howard Lewis Ship пишет:
> <inject property="foo" object="spring:SpringBeanName"/>
> 
> The only trick is getting HiveMind to know about Spring.
> 
> After creating your Spring BeanContext, you must tell HiveMind about it by
> obtaining the hivemind.lib.DefaultSpringBeanFactoryHolder service and
> invoking setBeanFactory() on it.
> 
> http://jakarta.apache.org/hivemind/current/hivemind-lib/SpringLookupFactory.html
> 

Im new in HiveMind and cant understand yet how to do this
Can anyone provide more detailed example for it?

-- 
Roman Krutyakov


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: Tapestry3.1-alpha Spring bean injection

Posted by Krutyakov Roman <ma...@rs.com.ua>.
В Чтв, 03/03/2005 в 11:40 +0200, Krutyakov Roman пишет:
> В Чтв, 24/02/2005 в 11:01 -0500, Howard Lewis Ship пишет:
> > <inject property="foo" object="spring:SpringBeanName"/>
> > 
> > The only trick is getting HiveMind to know about Spring.
> > 
> > After creating your Spring BeanContext, you must tell HiveMind about it by
> > obtaining the hivemind.lib.DefaultSpringBeanFactoryHolder service and
> > invoking setBeanFactory() on it.
> > 
> > http://jakarta.apache.org/hivemind/current/hivemind-lib/SpringLookupFactory.html
> > 
> 
> Im new in HiveMind and cant understand yet how to do this
> Can anyone provide more detailed example for it?
> 

solved by overriding ApplicationServlet.createRegistry(...)

-- 
Roman Krutyakov


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org