10 Replies Latest reply on Jul 11, 2007 10:59 AM by youngm

    Is it possible to access the outer instance of a Seam Compon

    youngm Novice

      I have a class with methods like so:

      public class SomeClass {
       public void createSomething() {
       sendAnEmail();
       }
      
       @Asynchronous
       public void sendAnEmail() {
       //Send an email asynchronously
       }
      }
      


      What is the recommended way to call "sendAnEmail" from createSomething so that the Asynchronous interceptor can intercept the call?

      Mike