You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hivemind.apache.org by Andrea Chiumenti <ki...@gmail.com> on 2005/08/27 11:40:54 UTC
help with
Hi again,
reading the documentatino about <contribution> tag i see that it can
only generate List or Map instances. This differs from the spring
framework way of configuring services in that you can perform a
configuration this way:
<bean id="..." class="....">
<property name="fooProp"><value>barValue</value></propery>
</bean>
So in Spring i can set also property values that are not Lists or Map
into a service.
Now I wonder if there is something similar in hivemind.
Thanks,
kiuma
---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-user-help@jakarta.apache.org
Re: help with
Posted by Andrea Chiumenti <ki...@gmail.com>.
Thanks, now it's clear.
kiuma
On 8/28/05, Johan Lindquist <jo...@kawoo.co.uk> wrote:
> Hi Kiuma,
>
> When you intantiate your service, try using the BuilderFactory
> (http://jakarta.apache.org/hivemind/hivemind/BuilderFactory.html). This
> allows you instantiate your bean using custom properties.
>
> Cheers,
>
> Johan
>
> > Hi again,
> > reading the documentatino about <contribution> tag i see that it can
> > only generate List or Map instances. This differs from the spring
> > framework way of configuring services in that you can perform a
> > configuration this way:
> >
> > <bean id="..." class="....">
> > <property name="fooProp"><value>barValue</value></propery>
> > </bean>
> >
> > So in Spring i can set also property values that are not Lists or Map
> > into a service.
> > Now I wonder if there is something similar in hivemind.
> > Thanks,
> > kiuma
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: hivemind-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: hivemind-user-help@jakarta.apache.org
> >
> >
> >
> >
>
>
> --
> you too?
>
>
> ---------------------------------------------------------------------
> 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
Re: help with
Posted by Johan Lindquist <jo...@kawoo.co.uk>.
Hi Kiuma,
When you intantiate your service, try using the BuilderFactory
(http://jakarta.apache.org/hivemind/hivemind/BuilderFactory.html). This
allows you instantiate your bean using custom properties.
Cheers,
Johan
> Hi again,
> reading the documentatino about <contribution> tag i see that it can
> only generate List or Map instances. This differs from the spring
> framework way of configuring services in that you can perform a
> configuration this way:
>
> <bean id="..." class="....">
> <property name="fooProp"><value>barValue</value></propery>
> </bean>
>
> So in Spring i can set also property values that are not Lists or Map
> into a service.
> Now I wonder if there is something similar in hivemind.
> Thanks,
> kiuma
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: hivemind-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: hivemind-user-help@jakarta.apache.org
>
>
>
>
--
you too?
---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-user-help@jakarta.apache.org