hivemind-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steven Devijver <steven.devij...@interface21.com>
Subject Re: Question about spring prefix in HiveMind
Date Mon, 17 Oct 2005 18:16:29 GMT
Hey Knut,

Thanks for your feedback. I want to do a lookup on the registry  
object. How can I do that?

Thanks

Steven

On 17 Oct 2005, at 11:15, Knut Wannheden wrote:

> Steven,
>
> Try using the SpringLookupFactory service:
> http://jakarta.apache.org/hivemind/hivemind-lib/ 
> SpringLookupFactory.html.
>
> HTH,
>
> --knut
>
> On 10/16/05, Steven Devijver <steven.devijver@interface21.com> wrote:
>
>> Hey,
>>
>> I've set a Spring BeanFactory instance on
>> hivemind.lib.DefaultSpringBeanFactoryHolder. In Tapestry I can get
>> access to the beans through the spring prefix. However, I cannot get
>> access to those beans through the HiveMind registry object:
>>
>> Bean bean = (Bean)registry.getService("spring:bean", Bean.class);
>>
>> This call fails because the service point spring:bean is not found.
>>
>> Is this expected behavior? How can I get hold of my Spring beans
>> throught the HiveMind registry?
>>
>> Thanks
>>
>> Steven Devijver
>> Senior consultant
>> @ Interface21
>> steven.devijver@interface21.com
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: hivemind-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: hivemind-user- 
>> help@jakarta.apache.org
>>
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: hivemind-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: hivemind-user-help@jakarta.apache.org
>
>


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


Mime
View raw message