4 Replies Latest reply on Aug 21, 2009 9:59 PM by Jubril Adisa

    Asynchronous method executes without invocation

    Jubril Adisa Novice

      I configured quartz for my application and I have the following class





      @Name("indexer")
      @Scope(ScopeType.APPLICATION)
      public class Indexer {
           @Asynchronous 
           @Transactional
           public QuartzTriggerHandle startIndex(@Expiration Date when,@IntervalDuration long interval){
                System.out.println(">>>>>>>>><<<<Executed");
                return null;
           }





      But i am surprised that without my invoking the method startIndex. The Method starts on its one and continues printing out

      >>>>Executed