|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object spin.demo.async.AsyncBeanImpl
public class AsyncBeanImpl
Implementation of an async bean.
Constructor Summary | |
---|---|
AsyncBeanImpl()
|
Method Summary | |
---|---|
void |
addListener(AsyncListener listener)
Add a listener. |
void |
run()
|
void |
start()
Start this bean in an asynchron thread. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AsyncBeanImpl()
Method Detail |
---|
public void addListener(AsyncListener listener)
addListener
in interface AsyncBean
listener
- listener to addpublic void start()
start
in interface AsyncBean
public void run()
run
in interface java.lang.Runnable
Runnable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |