| java.lang.Object org.springframework.jca.work.DelegatingWork
DelegatingWork | public class DelegatingWork implements Work(Code) | | Simple Work adapter that delegates to a given Runnable.
author: Juergen Hoeller since: 2.0.3 See Also: javax.resource.spi.work.Work See Also: Runnable |
Method Summary | |
final public Runnable | getDelegate() Return the wrapped Runnable implementation. | public void | release() This implementation is empty, since we expect the Runnable
to terminate based on some specific shutdown signal. | public void | run() Delegates execution to the underlying Runnable. |
DelegatingWork | public DelegatingWork(Runnable delegate)(Code) | | Create a new DelegatingWork.
Parameters: delegate - the Runnable implementation to delegate to |
getDelegate | final public Runnable getDelegate()(Code) | | Return the wrapped Runnable implementation.
|
release | public void release()(Code) | | This implementation is empty, since we expect the Runnable
to terminate based on some specific shutdown signal.
|
run | public void run()(Code) | | Delegates execution to the underlying Runnable.
|
|
|