2008/10/3 Dhanji R. Prasanna <[EMAIL PROTECTED]>:
> Have you considered using the AopAlliance ConstructorInterceptors as the
> interface? This will match nicely with the MethodInterceptors.

Ah great idea! I guess the only downside with that approach is it
introduces another object construction (the ConstructorInvocation) for
each object being constructed that has a ConstructorInterceptor; plus
from an implementation perspective it might sometimes be a bit tricky
grabbing the Constructor reference (but thats less of an issue). On
the plus side though it'd certainly make the API more consistent with
the aopalliance APIs

-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://open.iona.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-guice?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to