Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JBoss User Help »

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

scott.stark@jboss.org

2007-06-14


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
_______________________________________________
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user
©2008 junlu.com - Jax Systems, LLC, U.S.A.