Package | Description |
---|---|
org.springframework.context.event |
Support classes for application events, like standard context events.
|
org.springframework.jms.config |
Support package for declarative messaging configuration,
with Java configuration and XML schema support.
|
org.springframework.jms.listener |
This package contains the base message listener container facility.
|
org.springframework.scheduling.commonj |
Convenience classes for scheduling based on the CommonJ WorkManager/TimerManager
facility, as supported by IBM WebSphere 6.0+ and BEA WebLogic 9.0+.
|
org.springframework.scheduling.concurrent |
Scheduling convenience classes for the
java.util.concurrent
and javax.enterprise.concurrent packages, allowing to set up a
ThreadPoolExecutor or ScheduledThreadPoolExecutor as a bean in a Spring
context. |
org.springframework.scheduling.support |
Generic support classes for scheduling.
|
Modifier and Type | Method and Description |
---|---|
protected ErrorHandler |
SimpleApplicationEventMulticaster.getErrorHandler()
Return the current error handler for this multicaster.
|
Modifier and Type | Method and Description |
---|---|
void |
SimpleApplicationEventMulticaster.setErrorHandler(ErrorHandler errorHandler)
Set the
ErrorHandler to invoke in case an exception is thrown
from a listener. |
Modifier and Type | Method and Description |
---|---|
void |
AbstractJmsListenerContainerFactory.setErrorHandler(ErrorHandler errorHandler) |
Modifier and Type | Method and Description |
---|---|
ErrorHandler |
AbstractMessageListenerContainer.getErrorHandler()
Return the ErrorHandler to be invoked in case of any uncaught exceptions thrown
while processing a Message.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractMessageListenerContainer.setErrorHandler(ErrorHandler errorHandler)
Set the ErrorHandler to be invoked in case of any uncaught exceptions thrown
while processing a Message.
|
Modifier and Type | Method and Description |
---|---|
void |
TimerManagerTaskScheduler.setErrorHandler(ErrorHandler errorHandler)
Provide an
ErrorHandler strategy. |
Modifier and Type | Method and Description |
---|---|
void |
ThreadPoolTaskScheduler.setErrorHandler(ErrorHandler errorHandler)
Set a custom
ErrorHandler strategy. |
void |
ConcurrentTaskScheduler.setErrorHandler(ErrorHandler errorHandler)
Provide an
ErrorHandler strategy. |
Modifier and Type | Field and Description |
---|---|
static ErrorHandler |
TaskUtils.LOG_AND_PROPAGATE_ERROR_HANDLER
An ErrorHandler strategy that will log at error level and then
re-throw the Exception.
|
static ErrorHandler |
TaskUtils.LOG_AND_SUPPRESS_ERROR_HANDLER
An ErrorHandler strategy that will log the Exception but perform
no further handling.
|
Modifier and Type | Method and Description |
---|---|
static ErrorHandler |
TaskUtils.getDefaultErrorHandler(boolean isRepeatingTask)
Return the default
ErrorHandler implementation based on the boolean
value indicating whether the task will be repeating or not. |
Modifier and Type | Method and Description |
---|---|
static DelegatingErrorHandlingRunnable |
TaskUtils.decorateTaskWithErrorHandler(java.lang.Runnable task,
ErrorHandler errorHandler,
boolean isRepeatingTask)
Decorate the task for error handling.
|
Constructor and Description |
---|
DelegatingErrorHandlingRunnable(java.lang.Runnable delegate,
ErrorHandler errorHandler)
Create a new DelegatingErrorHandlingRunnable.
|