> -----Original Message-----
> From: Stephen McConnell [mailto:[EMAIL PROTECTED]
> Sent: Friday, January 16, 2004 4:23 PM
>
> [EMAIL PROTECTED] wrote:
>
> > Hi,
> > I'm just wondering if anyone has tried to do some AOP in Merlin (testing
> > etc.)? What framework is easy to strt with and are there tutorials?
>
> Can you describe in a little more detail what you have in mind?

I would guess he simply wants to apply aspects to classes in his deployment
jars. That is, he doesn't want to apply aspects to merlin itself but rather
to his own applications running within merlin.

Since all aop frameworks I know of need to drop in their own custom
classloaders for loading those classes aspects are to be applied to I think
what he tries to achieve is impossible. A few weeks ago you told me that
merlin will always use its own classloader - not the one specified in
DefaultInitialContext - for loading deployment classes. Thus there's no way
for an aop framework to dynamically instrument the bytecode of applications
deployed in merlin (see the thread "[Merlin] Integrating aspectwerkz into
merlin" starting on 22/12/2003). That's the reason why I gave up on trying
to integrate aspectwerkz into merlin.

Cheers,

Olaf


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

Reply via email to