In the past I have been using load-time byte code manipulation and tried to use AOP 
pre compilation with DR4. However it seems that the current AOP implementation design 
requires a newInstance() of advice classes during byte code enhancement 
(AspectDefinition#createAspect).

This behaviour is rather optimal since my advice classes initialize themself in a 
static{} block and fail as soon as the runtime environment is not available (such as 
an MBean Server).

Although switching to lazy initialization would be an option I would love to see a way 
to use pre compilation which doesn't need newInstance() of advice classes. Do you 
think this is possible?


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

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



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to