[jboss-user] [JBoss AOP] New message: "How a field annotation to weave with an aspect?"

MK Song do-not-reply at jboss.com
Tue Feb 23 14:18:01 EST 2010


User development,

A new message was posted in the thread "How a field annotation to weave with an aspect?":

http://community.jboss.org/message/528012#528012

Author  : MK Song
Profile : http://community.jboss.org/people/mksong

Message:
--------------------------------------------------------------
Hello,


I wanted to test 'field annotation' using JBoss AOP.
However, the POJO, *BankAccount was not be able to be enhanced.*
Can you help me out to weave it with an aspect?
 
* Very simple program has been attached.




C:\..\JBossAOPTest4>ant
Buildfile: build.xml


prepare:


compile:
   [delete] Deleting directory C:\tmp\aoptest\JBossAOPTest4\classes
    [mkdir] Created dir: C:\tmp\aoptest\JBossAOPTest4\classes
    [javac] Compiling 4 source files to C:\tmp\aoptest\JBossAOPTest4\classes


aopc:
     [aopc] log4j:WARN No appenders could be found for logger (org.jboss.aop.instrument.InstrumentorFactory).
     [aopc] log4j:WARN Please initialize the log4j system properly.
     [aopc] [no comp needed] C:\tmp\aoptest\JBossAOPTest4\classes\bank\SecurityFieldAnnotation.class
     [aopc] [no comp needed] C:\tmp\aoptest\JBossAOPTest4\classes\bank\SecurityFieldAspect.class
   *  [aopc] [no comp needed] C:\tmp\aoptest\JBossAOPTest4\classes\bank\BankAccount.class*
     [aopc] [no comp needed] C:\tmp\aoptest\JBossAOPTest4\classes\bank\Bank.class
     [aopc] Build Successful: 547 ms


run-compile-time:
     [java] [DBG] credit: 777


BUILD SUCCESSFUL
Total time: 3 seconds

--------------------------------------------------------------

To reply to this message visit the message page: http://community.jboss.org/message/528012#528012




More information about the jboss-user mailing list