spin.demo.async
public interface AsyncBean
Modifier and Type | Method and Description |
---|---|
void |
addListener(AsyncListener listener)
Add a listener.
|
void |
start()
Start this bean in an asynchron thread.
|
void addListener(AsyncListener listener)
listener
- listener to addvoid start()