e method (and related RegistrtyImpl support) would make the
>> replacement hide behind the original service's id and
>> ServiceProxyToken.
>>
>>
>>>
>>> How far out am I here?
>>>
>>>
>>> -Original Message-
>>> Fr
(and related RegistrtyImpl support) would make the
> replacement hide behind the original service's id and
> ServiceProxyToken.
>
>
>>
>> How far out am I here?
>>
>>
>> -Original Message-
>> From: Blower, Andy [mailto:andy.blo...@proquest
ements seem
> quite unusual. If it would be useful to other Tapestry users then maybe.
>
> Thanks for the reply Howard.
>
> -Original Message-----
> From: Howard Lewis Ship [mailto:hls...@gmail.com]
> Sent: 21 February 2012 19:51
> To: Tapestry users
> Subject: Re
al Message-
From: Blower, Andy [mailto:andy.blo...@proquest.co.uk]
Sent: 22 February 2012 17:35
To: Tapestry users
Subject: RE: [T5.3] Contributing a Service Override using addInstance()
Yes that works! I had no idea you could do such a thing as I'd not see it
anywhere in the documentation.
ply Howard.
-Original Message-
From: Howard Lewis Ship [mailto:hls...@gmail.com]
Sent: 21 February 2012 19:51
To: Tapestry users
Subject: Re: [T5.3] Contributing a Service Override using addInstance()
This might work:
@Contribute(ServiceOverride.class)
public static void
setupApplicationServic
injections and is not practical to
> change them.
>
>
> -Original Message-
> From: Steve Eynon [mailto:steve.ey...@alienfactory.co.uk]
> Sent: 21 February 2012 10:36
> To: Tapestry users
> Subject: Re: [T5.3] Contributing a Service Override using addInstance()
where we have plain injections and is not practical to change them.
-Original Message-
From: Steve Eynon [mailto:steve.ey...@alienfactory.co.uk]
Sent: 21 February 2012 10:36
To: Tapestry users
Subject: Re: [T5.3] Contributing a Service Override using addInstance()
Hi, I'm not really sure w
Hi, I'm not really sure what's going on as the two classes you
mention, ValidatingMappedConfigurationWrapper &
AbstractConfigurationImpl, don't appear in your code snippet.
If you define your overriding service as an Interface (say in the
bind() method) then T5 will create a proxy for it.
public
I managed to get this to work by tracking down all dependencies and finding
that one was being used in the services' constructor. Once I moved the
initialisation code into a lazy init method I stopped getting the exceptions.
Unfortunately, I still have an issue because when using addInstance() T