You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by "hv @ Fashion Content" <in...@fashioncontent.com> on 2005/11/20 12:21:10 UTC
Can a service point link to a spring object
I have
<service-point id="TopicServiceEncoder" interface="..">
<invoke-factory>
<construct class="TopicServiceEncoder">
<set-object property="statefulExtension" value="stopic"/>
..
Now I want to add a property that refers to a spring singleton. Is there a
notation, or is @InjectObject the way forward?
Henrik
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: Can a service point link to a spring object
Posted by Derick Fernando <de...@thelabllc.com>.
Hello,
You can do <set-object property="springBean" value="spring:springBean"/>
You can only use InectObject in a page or component class as far as I
know. Hope that helps.
hv @ Fashion Content wrote:
> I have
>
> <service-point id="TopicServiceEncoder" interface="..">
> <invoke-factory>
> <construct class="TopicServiceEncoder">
> <set-object property="statefulExtension" value="stopic"/>
> ..
>
> Now I want to add a property that refers to a spring singleton. Is there a
> notation, or is @InjectObject the way forward?
>
> Henrik
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
> __________ NOD32 1.1275 (20051103) Information __________
>
> This message was checked by NOD32 antivirus system.
> http://www.eset.com
>
>
>
--
.........................................
Derick Fernando
Lead Architect
derickf@thelabllc.com
(323) 314-9593
http://www.thelabllc.com
Content is for intended recipient only.
Copyright 2001-2005, The Lab, LLC
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org