[jboss-dev-forums] [Design of POJO Server] - Intercepting ManagedComponent ctor
scott.stark@jboss.org
do-not-reply at jboss.com
Fri Apr 24 13:08:32 EDT 2009
I'm not able to get the ManagedComponentImpl ctor intercepted if I add the following bootstrap xml to the aop.xml/AspectManager ctor:
| <bean name="AspectManager" class="org.jboss.aop.deployers.AspectManagerJDK5">
| <constructor>
| <parameter><![CDATA[
| <aop>
| <aspect xmlns="urn:jboss:aop-beans:1.0"
| class="org.jboss.profileservice.aop.ManagedComponentAdvice" />
|
| <bind pointcut="execution(org.jboss.managed.plugins.ManagedComponentImpl->new(..))">
| <advice aspect="org.jboss.profileservice.aop.ManagedComponentAdvice" name="constructorAdvice"/>
| </bind>
| </aop>]]>
| </parameter>
| </constructor>
|
I assume this because this class is being loaded too early by something. Is there a way to get the bootstrap classes intercepted?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4226672#4226672
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4226672
More information about the jboss-dev-forums
mailing list