RE: [aspectwerkz-user] Hot deployment questions

"Vincent Massol" <[email protected]>
Newsgroups gmane.comp.java.aspectwerkz.user
Message-ID <[email protected]>
Hi Michael,

I believe the reason it works is simply because the modified classes are not
yet loaded by the classloader when the aspects are weaved using hot
deployment. Otherwise, I believe it won't work and a deployment scope would
be needed.

In other words, it's only by chance that it works and in general you should
always use a deployment scope when doing hot deployment.

Thanks
-Vincent

> -----Original Message-----
> From: Michael Haupt [mailto:[email protected]]
> Sent: dimanche 10 avril 2005 18:19
> To: [email protected]
> Subject: RE: [aspectwerkz-user] Hot deployment questions
> 
> Hi Vincent,
> 
> 
> Vincent Massol said:
> > Thanks you very much Mihir, that's very helpful. I have found that it
> > works without any aop.xml and without Deployment Scope.
> 
> 
> could you please post your source code (or a very small example)? I'm
> interested in knowing how hot deployment works without aop.xml and
> deployment scopes.
> 
> Best,
> 
> 
> Michael Haupt
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.