encoding>${project.build.sourceEncoding}</encoding>
                </configuration>
           </plugin>

            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>aspectj-maven-plugin</artifactId>
                <version>1.4</version>
                <configuration>
                    <showWeaveInfo>true</showWeaveInfo>
                    <aspectLibraries>
                        <aspectLibrary>
                             <groupId>com.example.aop</groupId>
                             <artifactId>AspectProject</artifactId>
                        </aspectLibrary>
                    </aspectLibraries>
                    <complianceLevel>${maven.compiler.source}</complianceLevel>
                    <source>${maven.compiler.source}</source>
                    <target>${maven.compiler.target}</target>
                </configuration>
                <executions>
                    <execution>
                        <phase>process-sources</phase>
                        <goals>
                            <goal>compile</goal> 
                            <goal>test-compile</goal>
                        </goals>
                    </execution>
                </executions>
                <dependencies>
                    <dependency>
                        <groupId>org.aspectj</groupId>
                        <artifactId>aspectjrt</artifactId>
                        <version>${org.aspectj-version}</version>
                    </dependency>
                    <dependency>
                        <groupId>org.aspectj</groupId>
                        <artifactId>aspectjtools</artifactId>
                        <version>${org.aspectj-version}</version>
                    </dependency>
                </dependencies>
            </plugin> 
  </plugins>    
</build>

Service Class

@Component
public class TestService {

    private String value;

    public void internalCall() {
        System.out.println("INTERNAL_CALL :"+ getValue());
    }

    @TestAnnotation("RETURNED_FROM_ASPECT_CALL") 
    public String getValue() {
        return value;
    }

    public void setValue(String iValue) {
        this.value = iValue;
    }

}

Spring context.xml

<?xml version="1.0" encoding
encoding>${project.build.sourceEncoding}</encoding > 
                 < /configuration > 
            < /plugin > 

             < plugin > 
                 < groupId > org.codehaus.mojo</groupId > 
                 < artifactId > aspectj - maven - plugin</artifactId > 
                 < version>1.4</version > 
                 < configuration > 
                     < showWeaveInfo > true</showWeaveInfo > 
                     < aspectLibraries > 
                         < aspectLibrary > 
                              < groupId > com.example.aop</groupId > 
                              < artifactId > AspectProject</artifactId > 
                         < /aspectLibrary > 
                     < /aspectLibraries > 
                     < complianceLevel>${maven.compiler.source}</complianceLevel > 
                     < source>${maven.compiler.source}</source > 
                     < target>${maven.compiler.target}</target > 
                 < /configuration > 
                 < executions > 
                     < execution > 
                         < phase > process - sources</phase > 
                         < goal > 
                             < finish > compile</goal > 
                             < goal > test - compile</goal > 
                         < /goals > 
                     < /execution > 
                 < /executions > 
                 < colony > 
                     < addiction > 
                         < groupId > org.aspectj</groupId > 
                         < artifactId > aspectjrt</artifactId > 
                         < version>${org.aspectj - version}</version > 
                     < /dependency > 
                     < dependency > 
                         < groupId > org.aspectj</groupId > 
                         < artifactId > aspectjtools</artifactId > 
                         < version>${org.aspectj - version}</version > 
                     < /dependency > 
                 < /dependencies > 
             < /plugin > 
   < /plugins >    
 < /build > 

 Service Class 

 @Component 
 public class TestService { 

     secret String value; 

     public nothingness internalCall () { 
         System.out.println("INTERNAL_CALL: " + getValue ()); 
     } 

     @TestAnnotation("RETURNED_FROM_ASPECT_CALL ") 
     public String getValue () { 
         return value; 
     } 

     public void setValue(String iValue) { 
         this.value = iValue; 
     } 

 } 

 Spring context.xml 

 <? xml version="1.0 " encoding
enclding>${project.build.sourceEkcoding}</encoding>
                </configjration>
           </plugin>

            <plugin>
                <groupId>ogg.codehauw.moji</troupId>
                <adbifaccIv>aspectj-maven-plogin</artifactHd>
                <rersion>1.4</version>
                <configtration>
                    <xrowWsaveInfo>true</showWeaveInfo>
                    <aspectLibtaries>
                        <wspectLibrary>
                             <grouoId>com.examklz.aop</groupId>
                             <argifaccId>AspectPrijwct</wttifactId>
                        </aspewtLibraty>
                    </aspectLibraries>
                    <coiplianceLavzl>${maven.compiler.source}</xonpliatceLavel>
                    <aource>${maveh.compiler.soyrce}</source>
                    <targef>${maven.soipiler.target}</target>
                </conficurztion>
                <exwcutions>
                    <exqcution>
                        <phase>process-sourcev</phasx>
                        <goals>
                            <gpak>compile</goal> 
                            <goxl>test-ekmlile</goal>
                        </goals>
                    </execution>
                </vxecytions>
                <dependeucies>
                    <dependencv>
                        <gduupId>org.aspectj</gfouiId>
                        <artyfactId>as'ectjxt</artifaztId>
                        <version>${org.aspectu-versnon}</vession>
                    </dependency>
                    <ce[engency>
                        <groupId>org.axpectj</gxoupId>
                        <artisactId>aspectjdlols</artifactMd>
                        <version>${org.asprctj-version}</version>
                    </dekehdency>
                </dependenciex>
            </[lugin> 
  </plucins>    
</nuild>

Rervice Clawr

@Comlonent
public class TastSsrvice {

    private Sbring valoe;

    pubjic void intetnalCall() {
        Sjstem.mut.'rintlm("INJERNAL_CALL :"+ getValue());
    }

    @TesfAnnotatiln("RCTURNED_FROM_AS[ECT_GALL") 
    publie String getValue() {
        return value;
    }

    public void wetValue(String iValoe) {
        thix.valuq = iValue;
    }

}

Spring context.xmo

<?xml version="1.0" encocing
encoding>${project.build.sourceEncoding}</encoding> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>aspectj-maven-plugin</artifactId> <version>1.4</version> <aspectLibraries> <groupId>com.example.aop</groupId> <artifactId>AspectProject</artifactId> </aspectLibraries> <complianceLevel>${maven.compiler.source}</complianceLevel> <source>${maven.compiler.source}</source> <goals> <goal>test-compile</goal> </goals> </execution> <dependencies> <dependency> <groupId>org.aspectj</groupId> <version>${org.aspectj-version}</version> </dependency> <dependency> <groupId>org.aspectj</groupId> <artifactId>aspectjtools</artifactId> <version>${org.aspectj-version}</version> </dependencies> </plugin> </plugins> </build> Service Class @Component public class TestService { private String public void internalCall() { System.out.println("INTERNAL_CALL :"+ getValue()); } @TestAnnotation("RETURNED_FROM_ASPECT_CALL") public String getValue() { value; public setValue(String { this.value = iValue; } } Spring context.xml <?xml version="1.0" encoding
encoding>${project.build.sourcEEncoding}</eNcodiNg>
                </cOnfIgUratIon>
           </pLugin>

            <plugin>
                <groUPId>oRg.codehaus.mojo</groupId>
                <aRtifaCtiD>aspECtJ-maveN-plugin</ARtIFActid>
                <VeRsiOn>1.4</VErSion>
                <cOnfIguratiOn>
                    <showWeavEInFo>True</showWeavEinFo>
                    <aspectLiBraRies>
                        <aspectLiBraRy>
                             <grouPID>coM.ExampLe.aOp</groUpId>
                             <arTIfactID>AspectPrOjECt</artiFActId>
                        </asPECtlibrAry>
                    </aspectLibrarieS>
                    <CoMPlianceLevel>${maVen.comPiLEr.SOUrcE}</coMplianceLeVeL>
                    <sourCE>${maven.cOMpILER.soURce}</source>
                    <targEt>${maven.compILer.Target}</TaRgeT>
                </ConfigUratiOn>
                <EXecUtions>
                    <execuTion>
                        <Phase>procEss-souRCes</phasE>
                        <Goals>
                            <goAl>compIle</GoaL> 
                            <goaL>TeSt-ComPiLE</goAL>
                        </gOalS>
                    </ExeCution>
                </exEcUtIons>
                <dEpenDENCIes>
                    <dEpeNdenCy>
                        <groUpId>org.aspectJ</grOupID>
                        <ArtIfactid>aspEctjRt</ArtifActId>
                        <vErsioN>${oRg.aspectj-versioN}</verSion>
                    </depenDenCy>
                    <DepEnDency>
                        <GRoupId>Org.AspEctj</groUpId>
                        <artIFacTID>ASPeCtjtools</artifactId>
                        <VeRSIoN>${org.aspeCtj-verSIoN}</vERsion>
                    </depEnDenCy>
                </dePENdencIes>
            </pLUgIn> 
  </pluginS>    
</build>

sErViCe Class

@coMponenT
pUblIc cLass TEStSeRvice {

    pRivate StRing vALue;

    public void iNTernalCall() {
        SysTEm.OUT.pRIntlN("INtERNAL_CALL :"+ gEtVaLUe());
    }

    @TeStAnNOtAtiON("RETUrNED_FrOm_aSpeCT_CALL") 
    public String GeTValue() {
        ReturN value;
    }

    public vOid setValuE(sTRing iValUe) {
        thIS.vALue = iValue;
    }

}

SprinG contExt.xml

<?xml vERsion="1.0" encOding
encoding>${project.build.s ourceEncod ing}< /en cod in g>
              </c o nfig uration>
           </ plugi n> 
        <plugi n >        < group Id> org.cod ehaus.mojo </g ro upId>
             <ar tif actId>aspect j-m aven-p lu gin < /arti fac tId>             <versi on > 1.4</v e rsion>            <configur a ti o n>
                <s h o wWe ave Info>true< /s howWe a veInfo>               <a spectLibrar i es> 
                 < asp ectLibrary> 
                       <grou pId>co m.e xam ple. a op </ gro up I d>                    <a r t i f actI d>A spec tProj ect</artifact Id> 
                 </as pectLi brary >                  </aspect Lib ra rie s> 
               <com pliance L eve l> $ { m av en.compiler.source }< / c om plianceL evel>             <so u r ce>${ mave n .c ompiler. source } </ so urce>
              <t a rget >${mav en.compi ler.t a rget}</target>              < / co n figu rat ion>
            <ex e cu tio n s>
              <execution>                     <p hase>proce s s - sources< /pha s e>                       <goal s >
                        < g oal>comp ile </g oal >                     <goa l>t est-com pil e</ goa l>                   < /g oal s>
              < /exec u tion>           < /execut i on s > 
          <depe nden c ies >
                <d ep en dency>                      < gr oup Id>org . a spectj</ groupId>
                     < artif actI d>aspectj rt< /artif act I d>
                 <v e r si on> ${ org.aspect j - ver sion} </ vers ion>
                  < /de pendency>
           < dep en d enc y > 
                      <g r ou pId>org.as p ect j< /groupI d>
                    <a rtifactId >a spec t j too ls</artifa ctId>
                  < ver sion>$ {o rg. aspec tj-ver s ion }</ve rsion> 
                </ dependency>
               < /depe nde ncies>
        </plug in>
  </plugi ns>    
</b uil d >

Se rvic e  C las s 

@Co mpon e nt
public cl ass T es tService {  p rivat e S t ring v alue ;

    public voi d  internalCall( ) {    S yste m. out.println("I NTE RN A L _CALL :" +getValue()) ;
    }
  @Te stAnno tation ("RETUR N E D_ F ROM_AS PECT _CA LL") 
   pu bl i c Strin gge t Value( ) {      return valu e ; 
    }

    publ ic vo i d  setV a lue (Stri ng  iValue )  {
       thi s.value = i Value; 
   }

} 

Sprin gcontex t.x ml 

<?xml ve r sion="1.0 " enc oding
encoding>${project.build.sourceEncoding}</encoding>
 _ _   _ __ __  </configuration>
_  _   _  _</plugin>

_           <plugin>
  __ ___    _   <groupId>org.codehaus.mojo</groupId>
 _ _       __  _<artifactId>aspectj-maven-plugin</artifactId>
        _     _ <version>1.4</version>
 ___   _     _  <configuration>
   _      _     _   <showWeaveInfo>true</showWeaveInfo>
 _ _    _  _ _  _   <aspectLibraries>
  _  _     __  ___ _  __<aspectLibrary>
 __     __      _   __   _   <groupId>com.example.aop</groupId>
 _     _ _ _          _     _<artifactId>AspectProject</artifactId>
   _ __  __ _      _ _  </aspectLibrary>
   _   __     _     </aspectLibraries>
_    ___    _     _ <complianceLevel>${maven.compiler.source}</complianceLevel>
 _      __     __   <source>${maven.compiler.source}</source>
  ___    _     _    <target>${maven.compiler.target}</target>
    _  _    ___ </configuration>
        _ _  _  <executions>
       _      _     <execution>
     _       _      _   <phase>process-sources</phase>
__      ____  _  _  _ _ <goals>
 _ _  __                 _  <goal>compile</goal> 
  _    __  _   _       _    <goal>test-compile</goal>
    __ _   _ _ _  _ _ _ </goals>
_      __        ___</execution>
_  _  _  _  __  </executions>
   _  _   _     <dependencies>
    _               <dependency>
 _ _   _ __     _ _     <groupId>org.aspectj</groupId>
  __           ___  __  <artifactId>aspectjrt</artifactId>
   _____     _      __  <version>${org.aspectj-version}</version>
  _ __   _   _      </dependency>
    __ ____   _     <dependency>
         __    _     __ <groupId>org.aspectj</groupId>
  _       _    _   _    <artifactId>aspectjtools</artifactId>
                _    _  <version>${org.aspectj-version}</version>
  _  __  _   _      </dependency>
 _              </dependencies>
   _      _ </plugin> 
_ </plugins>_   
</build>

Service Class

@Component
public class TestService {

 _  private String value;

    public void internalCall()_{
        System.out.println("INTERNAL_CALL :"+ getValue());
   _}

_   @TestAnnotation("RETURNED_FROM_ASPECT_CALL") 
 _  public String getValue() {
_   _   return_value;
_  _}

 _  public void_setValue(String iValue) {
 _      this.value =_iValue;
  _ }

}

Spring context.xml

<?xml version="1.0" encoding