hide behind the original service's id and
ServiceProxyToken.
How far out am I here?
-Original 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
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: [T5.3] Contributing a Service Override using addInstance()
This might work:
@Contribute(ServiceOverride.class)
public static void
?
-Original 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
-
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.
I don't know
.
-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
setupApplicationServiceOverrides
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
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 what's going on as the two
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 what's going on as the two classes you mention
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()