[jboss-user] [JBoss AOP] - Re: Jboss AOP with web services upon jboss

abdujaparov do-not-reply at jboss.com
Wed Oct 24 13:28:59 EDT 2007


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



More information about the jboss-user mailing list