[jboss-user] [JBoss AOP] - Acting on class load

fbrueseke do-not-reply at jboss.com
Wed Oct 29 06:54:23 EDT 2008


Hi JBoss AOP folks,

My question is the following:
Can I use JBoss AOP to act upon a class being loaded?
The AOP framework catches this event anyways doesn't it?

My particular problem is that I want to enter classes that implement a common superclass into a registry as soon as they are loaded. Is that possible?
I considered introductions, but this is no good as then I can only register on the first instantiation of an object.

Hope you can help.
Kind regards
Frank

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4185334#4185334

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4185334



More information about the jboss-user mailing list