[jboss-user] [JBoss AOP Development] New message: "Field annotation using JBoss AOP"

MK Song do-not-reply at jboss.com
Fri Feb 19 14:06:52 EST 2010


User development,

A new message was posted in the thread "Field annotation using JBoss AOP":

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

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.*
Is there the way to enhance it?


* 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/527339#527339




More information about the jboss-user mailing list