open class DelegatingWork : Work
Simple Work adapter that delegates to a given Runnable.
Author
Juergen Hoeller
Since
2.0.3
See Also
javax.resource.spi.work.WorkRunnable
DelegatingWork(delegate: Runnable)
Create a new DelegatingWork. |
fun getDelegate(): Runnable
Return the wrapped Runnable implementation. |
|
open fun release(): Unit
This implementation is empty, since we expect the Runnable to terminate based on some specific shutdown signal. |
|
open fun run(): Unit
Delegates execution to the underlying Runnable. |