I have @Asynchronous method and everithing is working fine. Now I want to stop 
calling that method.


  | @AutoCreate
  | @Name("natjecajServis")
  | @Stateless
  | public class NatjecajServisBean  implements NatjecajIServis {
  | @Asynchronous
  |     public void odradi(@Expiration
  |     Date date, @IntervalCron
  |     Long interval,@FinalExpiration Date kraj) {
  | ...
  | }
  | }
  | 

witch is call from another bena when server starts

  | @Stateless
  | @Name("cron")
  | public class CronBean implements  Cron {
  | @In
  | ZaposlenikIServis zaposlenikServis;
  | @Observer("org.jboss.seam.postInitialization")
  | public void postaviIzvodenje() {
  |             log.info("Set up cron");
  | zaposlenikServis.odradi(...);
  | }
  | }
  | 


So, how to stop calling @Asynchronous method

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085917
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to