Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AspectJ » Per VM singleton aspect
Per VM singleton aspect [message #677732] Thu, 09 June 2011 08:44 Go to next message
Markus Kuppe is currently offline Markus KuppeFriend
Messages: 177
Registered: July 2009
Senior Member
Hi,

for RPC invocation logging purposes I need a singleton advice with only
one instance per VM. However, the default instantiation appears to be
one aspect instance per class loader* (resulting in one instance per
thread in my RMI app).
How do I force AspectJ to only instantiate the aspect for the whole VM?

Thanks
Markus

*contrary to what is written in "AspectJ in Action: Practical
Aspect-Oriented Programming".

* English - detected
* English

* English

<javascript:void(0);>
Re: Per VM singleton aspect [message #681776 is a reply to message #677732] Thu, 09 June 2011 20:38 Go to previous message
Andrew Eisenberg is currently offline Andrew EisenbergFriend
Messages: 382
Registered: July 2009
Senior Member
You would be better off asking this question on the aspectj ussers mailing list. See here: http://eclipse.org/aspectj/userlists.php
(no subject) [message #681793 is a reply to message #677732] Thu, 09 June 2011 20:38 Go to previous message
Andrew Eisenberg is currently offline Andrew EisenbergFriend
Messages: 77
Registered: July 2009
Member
You would be better off asking this question on the aspectj ussers mailing list. See here: http://eclipse.org/aspectj/userlists.php
Previous Topic:exclude instance initialization method and interface initialization method
Next Topic:LTW compilation with ant task
Goto Forum:
  


Current Time: Thu Mar 28 21:01:40 GMT 2024

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

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

Back to the top