To quote HLS:
"You supply a new implementation with a new id, and contribute to the Alias
service configuration.  This will allow injections based on type to prefer
your implementation over the built-in one."

See Alias/AliasOverrrides:
http://tapestry.apache.org/tapestry5/tapestry-core/guide/alias.html

Cheers,
Nick.


Tom Davies wrote:
Hi,

I want to override the ComponentInstantiatorSource service with my own implementation (so that I can add another Translator to the Javassist ClassPool).

It seems that I can't simply define a duplicate of the service in my own module, which is fair enough. What's the approach to use?

Thanks,
  Tom

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to