[jboss-user] [JBoss Seam] - Re: jBoss Seam 2.0 Beta 1 Asynchronicity issues

vadger do-not-reply at jboss.com
Thu Aug 16 04:01:32 EDT 2007


I've found how to put it to work.
I annotated Task Handler implementation - not only interface as it is written in documentation, also I added just in case @Stateless annotation for my bean :) one of operations gave me a positive result :)

@AutoCreate
@Name("taskHandler")
@Stateless
public class TaskHandlerBean implements TaskHandler {
	
	@Logger
	Log log;
	
	@Override
	@Asynchronous
	public void sayGreeting(String greeting, @Expiration Date date, @IntervalDuration Long interval) {
		log.info("greeting: #0 at #1", greeting, new Date());
	}

}

Thanks for help.

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

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



More information about the jboss-user mailing list