org.jboss.seam.async
T
- the type of the timer objectpublic interface Dispatcher<T,S extends Schedule>
Modifier and Type | Method and Description |
---|---|
T |
scheduleAsynchronousEvent(String type,
Object... parameters)
Schedule an immediate asynchronous event
|
T |
scheduleInvocation(InvocationContext invocation,
Component component)
Schedule an asynchronous method call, examining annotations
upon the method to determine the schedule
|
T |
scheduleTimedEvent(String type,
S schedule,
Object... parameters)
Schedule a timed (delayed and/or periodic) event
|
void |
scheduleTransactionCompletionEvent(String type,
Object... parameters)
Schedule an event to be processed when the current transaction ends
|
void |
scheduleTransactionSuccessEvent(String type,
Object... parameters)
Schedule an event to be processed if and when the current transaction
completes successfully
|
T scheduleInvocation(InvocationContext invocation, Component component)
T scheduleTimedEvent(String type, S schedule, Object... parameters)
type
- the event typeschedule
- the scheduleparameters
- parameters to pass to the event listener methodT scheduleAsynchronousEvent(String type, Object... parameters)
type
- the event typeparameters
- parameters to pass to the event listener methodvoid scheduleTransactionSuccessEvent(String type, Object... parameters)
type
- the event typeparameters
- parameters to pass to the event listener methodCopyright © 2015 Seam Framework. All Rights Reserved.