I have read your link and don't undertand somethings.
1. I must have 2 files Simple.jar and Simple.aop or all can be contained in only one file.
2.- "You can either deploy an XML file directly in the deploy/ directory with the signature *-aop.xml..." ok i put my Simple-aop.xml in deply dir but where do i put the class file, packaged with Simple.jar (ejb), alone...?
3.- "The JAR format must have the file extension .aop and a jboss-aop.xml file must be contained in a META-INF directory..." this mean tha I create a jar with aop extension and I include the class files too, right?
Very thank you for your help and sorry for my bad english....
After read your post and I was thinking a little and I believe that two files with .aop and .jar extension is the correct way. Correct me if don't?
In order to clarify the things I show you an unpack of my jar and aop file.
# unzip Simple.jar
# unzip Simple.aop
But when I deploy the .aop file nothing happens and my example don't work, no interceprot code is executed.
Are you doing load time or precompiled aspects?
if you are doing load-time then you must set the EnableTransformer attribute to true within the AspectManagerService MBEAN within
It is turned off by default because JBoss boots up a little slower.
Let me know if this is your problem.
Sorry for the trouble.
ok, EnableTransformer was turned off (false) I have turned it on (true) and certainly the server is a bit slow but the result is the same, my LoggingInterceptor code is not executed.
Are my packages right? (see avove package structure)
Are my jboss-aop.xml correct? (see it avove)
What can I do to help you.. to help?
Very Very thank you?