Constructor and Description |
---|
AsyncBeanImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addListener(AsyncListener listener)
Add a listener.
|
void |
run() |
void |
start()
Start this bean in an asynchron thread.
|
public void addListener(AsyncListener listener)
addListener
in interface AsyncBean
listener
- listener to addpublic void start()
public void run()
run
in interface java.lang.Runnable
Runnable
Copyright © 2018. All rights reserved.