[jboss-user] [JBoss Seam] - Is it possible to access the outer instance of a Seam Compon

youngm do-not-reply at jboss.com
Thu Jun 14 18:59:46 EDT 2007


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

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054569#4054569

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054569



More information about the jboss-user mailing list