| java.lang.Object | |
| ↳ | org.springframework.scheduling.commonj.DelegatingWork |
Simple Work adapter that delegates to a given Runnable.
Runnable| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Create a new DelegatingWork.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Return the wrapped Runnable implementation.
| |||||||||||
This implementation delegates to
isLongLived(),
if available. | |||||||||||
This implementation is empty, since we expect the Runnable
to terminate based on some specific shutdown signal.
| |||||||||||
Delegates execution to the underlying Runnable.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Create a new DelegatingWork.
| delegate | the Runnable implementation to delegate to (may be a SchedulingAwareRunnable for extended support) |
|---|
This implementation is empty, since we expect the Runnable to terminate based on some specific shutdown signal.
Delegates execution to the underlying Runnable.