|
Spring Framework | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.jca.work.DelegatingWork
public class DelegatingWork
Simple Work adapter that delegates to a given Runnable.
Work,
Runnable| Constructor Summary | |
|---|---|
DelegatingWork(java.lang.Runnable delegate)
Create a new DelegatingWork. |
|
| Method Summary | |
|---|---|
java.lang.Runnable |
getDelegate()
Return the wrapped Runnable implementation. |
void |
release()
This implementation is empty, since we expect the Runnable to terminate based on some specific shutdown signal. |
void |
run()
Delegates execution to the underlying Runnable. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DelegatingWork(java.lang.Runnable delegate)
delegate - the Runnable implementation to delegate to| Method Detail |
|---|
public final java.lang.Runnable getDelegate()
public void run()
run in interface java.lang.Runnablepublic void release()
release in interface javax.resource.spi.work.Work
|
Spring Framework | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||