Hi Kabir, I've created ServiceAOP.zip file and reanmed it to ServiceAOP.aop.
The aop file contains 2 directory:
META-INF that contains the file:
jboss-aop.xml:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  | <aop>
  |     <aspect class="service.ServiceAOPAspect" scope="PER_VM"/>
  |     <bind pointcut="execution(public double 
service.ServiceAOP-&gt;fattoriale(int))">
  |         <advice aspect="service.ServiceAOPAspect" name="statistics"/>
  |     </bind>
  | </aop>

The directory service with the class ServiceAOPAspect.class (service is the 
package of this class).

After that I've put the file in jboss-4.2.1.GA/server/default/deploy
How can I see if the aop file is deployed correctly?

Is the aop file I've created correct?

Thanks, bye bye.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098448
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to