<?xml version="1.0" encoding="UTF-8"?>
<aop>
	<aspect class="org.jboss.test.aop.invocationParams.InvocationAspect" scope="PER_VM"/>

	<bind pointcut="execution(* org.jboss.test.aop.invocationParams.POJO->method1(..))">
		<advice name="aroundMethodExecution1" aspect="org.jboss.test.aop.invocationParams.InvocationAspect"/>
   </bind>

	<bind pointcut="get(* org.jboss.test.aop.invocationParams.POJO->number)">
		<advice name="aroundFieldRead" aspect="org.jboss.test.aop.invocationParams.InvocationAspect"/>
   </bind>

	<bind pointcut="set(* org.jboss.test.aop.invocationParams.POJO->number)">
		<advice name="aroundFieldWrite" aspect="org.jboss.test.aop.invocationParams.InvocationAspect"/>
   </bind>

   <bind pointcut="call(* org.jboss.test.aop.invocationParams.POJO->calleeMethod(..)) AND
      withincode(* org.jboss.test.aop.invocationParams.POJO->callerMethod(..))">
		<advice name="aroundMethodCalledByMethod" aspect="org.jboss.test.aop.invocationParams.InvocationAspect"/>
   </bind>
</aop>