Package tech.jhipster.async
Class ExceptionHandlingAsyncTaskExecutor
java.lang.Object
tech.jhipster.async.ExceptionHandlingAsyncTaskExecutor
- All Implemented Interfaces:
Executor,org.springframework.beans.factory.DisposableBean,org.springframework.beans.factory.InitializingBean,org.springframework.core.task.AsyncTaskExecutor,org.springframework.core.task.TaskExecutor
public class ExceptionHandlingAsyncTaskExecutor
extends Object
implements org.springframework.core.task.AsyncTaskExecutor, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
ExceptionHandlingAsyncTaskExecutor class.
-
Field Summary
Fields inherited from interface org.springframework.core.task.AsyncTaskExecutor
TIMEOUT_IMMEDIATE, TIMEOUT_INDEFINITE -
Constructor Summary
ConstructorsConstructorDescriptionExceptionHandlingAsyncTaskExecutor(org.springframework.core.task.AsyncTaskExecutor executor) Constructor for ExceptionHandlingAsyncTaskExecutor. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.core.task.AsyncTaskExecutor
submitCompletable, submitCompletable
-
Constructor Details
-
ExceptionHandlingAsyncTaskExecutor
public ExceptionHandlingAsyncTaskExecutor(org.springframework.core.task.AsyncTaskExecutor executor) Constructor for ExceptionHandlingAsyncTaskExecutor.
- Parameters:
executor- aAsyncTaskExecutorobject.
-
-
Method Details
-
execute
-
execute
Deprecated.- Specified by:
executein interfaceorg.springframework.core.task.AsyncTaskExecutor
-
handle
handle.
- Parameters:
e- aExceptionobject.
-
submit
- Specified by:
submitin interfaceorg.springframework.core.task.AsyncTaskExecutor
-
submit
- Specified by:
submitin interfaceorg.springframework.core.task.AsyncTaskExecutor
-
destroy
- Specified by:
destroyin interfaceorg.springframework.beans.factory.DisposableBean- Throws:
Exception
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-