Interface AsyncBean

All Known Implementing Classes:
AsyncBeanImpl

public interface AsyncBean
A common interface for an async bean.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Add a listener.
    void
    Start this bean in an asynchron thread.
  • Method Details

    • addListener

      void addListener(AsyncListener listener)
      Add a listener.
      Parameters:
      listener - listener to add
    • start

      void start()
      Start this bean in an asynchron thread.