Your service name injection reference looks fine to me, but I did notice two
other things:

1-) Tapestry's ApplicationServlet looks for "hivemodule.xml" in your
classpath/web context by default, you mentioned calling it
hivemind.xml..Areyou sure it's getting loaded at all?

2-) I could be completely wrong, but for the longest time I was under the
impression that your main hivemodule.xml file module id should be equal to
your applicationName.application tapestry file...This is probably bad advice
though. (still worth trying if you have no other ideas)

j

On 2/26/06, Leo Sakhvoruk <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I'm about to pull my hair out over this one. Basically, I have the
> following in my hivemind.xml:
>
> <module id="client_configuration" version="1.0.0">
>
>     <!-- Profile builder object -->
>     <service-point id="profileBroker"
> interface="client.functions.reference.IProfileBroker">
>         <invoke-factory model="singleton">
>             <construct class="client.functions.ProfileBroker">
>           <set-object property="serverAddress" value="something"/>
>           <set-object property="serverPort" value="something"/>
>         </construct>
>         </invoke-factory>
>     </service-point>
> </module>
>
> Then I try to get a hold of that in a page class via:
>
>     @InjectObject("service:client_configuration.profileBroker")
>     public abstract ProfileBroker getBroker();
>
> This throws the Service point client_configuration.profileBroker doesn't
> exist error every time. I've tried setting different values after the
> constructor in hivemind but the same error keeps coming back. I'm
> obviously not referencing the service-point element correctly.
>
> I've looked over the mailing list threads and the Tapestry as well as
> HiveMind sites. From what I can tell this should be working as is.
>
> I'm hitting a wall at this point. Please help with any clue.
>
> Thanks
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to