sure. One of the aspects tests actually creates a proxy and returns that instead.
Constructor interception is an "around" thingy so you can return any instance you want of the constructor. You can also do call side constructor interception of you only want to use the pool in certain code structures. Bill View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831075#3831075 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831075 ------------------------------------------------------- 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