Skip to main content



      Home
Home » Language IDEs » AspectJ » Feature request: Dynamic aspecting
Feature request: Dynamic aspecting [message #3299] Wed, 11 September 2002 06:05 Go to next message
Eclipse UserFriend
Originally posted by: amode.arrakis.es

It should be very interesting to be able to add aspects to classes loaded at
runtime.
I could load with Class.forName a class that implements a well known
interface and add to it an aspect.

Thanks
Re: Feature request: Dynamic aspecting [message #3399 is a reply to message #3299] Wed, 11 September 2002 12:06 Go to previous messageGo to next message
Eclipse UserFriend
I'm not so sure
(just discovered AspectJ recently and have not written any aspect myself),

but it seems that there is a restriction in AspectJ itself,
creation of aspects and pointcuts is specified at compile time.

you may also post your question AspectJ mailing lists at

http://aspectj.org/servlets/AJSite?channel=userCommunity& ;subChannel=mailingLists


Kostja


Enrique Amodeo wrote:

> It should be very interesting to be able to add aspects to classes loaded at
> runtime.
> I could load with Class.forName a class that implements a well known
> interface and add to it an aspect.

> Thanks
Re: Feature request: Dynamic aspecting [message #3432 is a reply to message #3399] Thu, 12 September 2002 05:03 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: amode.arrakis.es

Thanks Kostja. I'll write to that mailing list.
Re: Feature request: Dynamic aspecting [message #3532 is a reply to message #3399] Thu, 12 September 2002 21:34 Go to previous message
Eclipse UserFriend
Originally posted by: Mik.Kersten.parc.com

The current plan is to have support for bytecode weaving in the 1.1 release
of AspectJ. In addition to weaving into JARs without corresponding sources
this support should include a special class loader that will do load-time
weaving.

Follow Kostja's pointer below to ask about further details.

Regards,

Mik
--
Mik Kersten
Development Tools Lead
AspectJ Team, Palo Alto Research Center
http://www.parc.com/mkersten



"Kostja Dorodov" <dorodovkostja@inbox.lv> wrote in message
news:alnplb$d39$1@rogue.oti.com...
> I'm not so sure
> (just discovered AspectJ recently and have not written any aspect myself),
>
> but it seems that there is a restriction in AspectJ itself,
> creation of aspects and pointcuts is specified at compile time.
>
> you may also post your question AspectJ mailing lists at
>
>
http://aspectj.org/servlets/AJSite?channel=userCommunity& ;subChannel=mailingL
ists
>
>
> Kostja
>
>
> Enrique Amodeo wrote:
>
> > It should be very interesting to be able to add aspects to classes
loaded at
> > runtime.
> > I could load with Class.forName a class that implements a well known
> > interface and add to it an aspect.
>
> > Thanks
>
>
Re: Feature request: Dynamic aspecting [message #561230 is a reply to message #3299] Wed, 11 September 2002 12:06 Go to previous message
Eclipse UserFriend
I'm not so sure
(just discovered AspectJ recently and have not written any aspect myself),

but it seems that there is a restriction in AspectJ itself,
creation of aspects and pointcuts is specified at compile time.

you may also post your question AspectJ mailing lists at

http://aspectj.org/servlets/AJSite?channel=userCommunity& ;subChannel=mailingLists


Kostja


Enrique Amodeo wrote:

> It should be very interesting to be able to add aspects to classes loaded at
> runtime.
> I could load with Class.forName a class that implements a well known
> interface and add to it an aspect.

> Thanks
Re: Feature request: Dynamic aspecting [message #561251 is a reply to message #3399] Thu, 12 September 2002 05:03 Go to previous message
Eclipse UserFriend
Originally posted by: amode.arrakis.es

Thanks Kostja. I'll write to that mailing list.
Re: Feature request: Dynamic aspecting [message #561299 is a reply to message #3399] Thu, 12 September 2002 21:34 Go to previous message
Eclipse UserFriend
The current plan is to have support for bytecode weaving in the 1.1 release
of AspectJ. In addition to weaving into JARs without corresponding sources
this support should include a special class loader that will do load-time
weaving.

Follow Kostja's pointer below to ask about further details.

Regards,

Mik
--
Mik Kersten
Development Tools Lead
AspectJ Team, Palo Alto Research Center
http://www.parc.com/mkersten



"Kostja Dorodov" <dorodovkostja@inbox.lv> wrote in message
news:alnplb$d39$1@rogue.oti.com...
> I'm not so sure
> (just discovered AspectJ recently and have not written any aspect myself),
>
> but it seems that there is a restriction in AspectJ itself,
> creation of aspects and pointcuts is specified at compile time.
>
> you may also post your question AspectJ mailing lists at
>
>
http://aspectj.org/servlets/AJSite?channel=userCommunity& ;subChannel=mailingL
ists
>
>
> Kostja
>
>
> Enrique Amodeo wrote:
>
> > It should be very interesting to be able to add aspects to classes
loaded at
> > runtime.
> > I could load with Class.forName a class that implements a well known
> > interface and add to it an aspect.
>
> > Thanks
>
>
Previous Topic:class-files
Next Topic:IBM J9 VM
Goto Forum:
  


Current Time: Sun Jun 08 13:21:49 EDT 2025

Powered by FUDForum. Page generated in 0.23768 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top