Package spin.demo.async
Interface AsyncBean
-
- All Known Implementing Classes:
AsyncBeanImpl
public interface AsyncBean
A common interface for an async bean.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addListener(AsyncListener listener)
Add a listener.void
start()
Start this bean in an asynchron thread.
-
-
-
Method Detail
-
addListener
void addListener(AsyncListener listener)
Add a listener.- Parameters:
listener
- listener to add
-
start
void start()
Start this bean in an asynchron thread.
-
-