org.jboss.seam.async
@Name(value="org.jboss.seam.async.dispatcher") @Install(value=false, precedence=0) public class TimerServiceDispatcher extends AbstractDispatcher<javax.ejb.Timer,TimerSchedule> implements LocalTimerServiceDispatcher
AbstractDispatcher.DispatcherParametersEXECUTING_ASYNCHRONOUS_CALL| Constructor and Description |
|---|
TimerServiceDispatcher() |
| Modifier and Type | Method and Description |
|---|---|
Object |
call(Callable task) |
void |
dispatch(javax.ejb.Timer timer) |
static LocalTimerServiceDispatcher |
instance() |
void |
postConstruct() |
javax.ejb.Timer |
scheduleAsynchronousEvent(String type,
Object... parameters)
Schedule an immediate asynchronous event
|
javax.ejb.Timer |
scheduleInvocation(InvocationContext invocation,
Component component)
Schedule an asynchronous method call, examining annotations
upon the method to determine the schedule
|
javax.ejb.Timer |
scheduleTimedEvent(String type,
TimerSchedule schedule,
Object... parameters)
Schedule a timed (delayed and/or periodic) event
|
createSchedule, createTimerSchedule, extractAndValidateParameters, scheduleTransactionCompletionEvent, scheduleTransactionSuccessEventclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitscheduleTransactionCompletionEvent, scheduleTransactionSuccessEvent@PostConstruct public void postConstruct()
public void dispatch(javax.ejb.Timer timer)
public javax.ejb.Timer scheduleTimedEvent(String type, TimerSchedule schedule, Object... parameters)
DispatcherscheduleTimedEvent in interface Dispatcher<javax.ejb.Timer,TimerSchedule>type - the event typeschedule - the scheduleparameters - parameters to pass to the event listener methodpublic javax.ejb.Timer scheduleAsynchronousEvent(String type, Object... parameters)
DispatcherscheduleAsynchronousEvent in interface Dispatcher<javax.ejb.Timer,TimerSchedule>type - the event typeparameters - parameters to pass to the event listener methodpublic javax.ejb.Timer scheduleInvocation(InvocationContext invocation, Component component)
DispatcherscheduleInvocation in interface Dispatcher<javax.ejb.Timer,TimerSchedule>public Object call(Callable task)
call in interface LocalTimerServiceDispatcherpublic static LocalTimerServiceDispatcher instance()
Copyright © 2015 Seam Framework. All Rights Reserved.