Yes, the constructor interceptor runs in the context of the calling code.

Uninstrumented code:

POJO pojo = new POJO();

Instrumented and intercepted - (pseudo code):

POJO pojo = POJO.staticMethodReplacingConstructor();

With a stacktrace similar to this:

POJO.PoolingInterceptor.invoke();
POJO.ConstructorInvocation.invoke();
POJO.staticMethodReplacingConstructor();

Regards,
Adrian

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

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


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to