Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AspectJ » Feature request: Dynamic aspecting
Feature request: Dynamic aspecting [message #3299] Wed, 11 September 2002 10: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 16:06 Go to previous messageGo to next message
Konstantin Dorodov is currently offline Konstantin DorodovFriend
Messages: 9
Registered: July 2009
Junior Member
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 09: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] Fri, 13 September 2002 01: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 16:06 Go to previous message
Konstantin Dorodov is currently offline Konstantin DorodovFriend
Messages: 9
Registered: July 2009
Junior Member
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 09: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] Fri, 13 September 2002 01:34 Go to previous message
Mik Kersten is currently offline Mik KerstenFriend
Messages: 287
Registered: July 2009
Senior Member
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 Sep 22 22:29:39 GMT 2024

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

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

Back to the top