[jboss-user] [JBoss AOP] - Re: Compile Time AOP in JBOSS

gunaranjanc do-not-reply at jboss.com
Mon May 11 12:38:50 EDT 2009


Trying again (Sorry - should have tried preview!!) -  I knocked off the XML tags this time.

xml version="1.0" encoding="UTF-8"?

aop xmlns="urn:jboss:aop-beans:1.0"

interceptor class="com.XYZ.aop.AopLogger" scope="PER_VM"/>

interceptor class="com.XYZ.aop.ConstructorInterceptor" scope="PER_VM"/>



bind pointcut="execution(* com. XYZ.ejb.*->*(..)) "
	 interceptor-ref name="com.XYZ.aop.AopLogger"
/bind


bind pointcut="execution(com. XYZ.ejb.*->new(..))"
	 interceptor-ref name="com. XYZ.aop.ConstructorInterceptor"
/bind

/aop

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

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



More information about the jboss-user mailing list