de.esprit.appsuite.launch

## Interface AsyncInitializable

- All Superinterfaces:
    Initializable
  All Known Implementing Classes:
    AsyncInitializableObject, JavaVersionManager

      public interface AsyncInitializable
      extends Initializable

  This interface may be implemented by classes that need initialization.
  Author:
    Rainer Buesch

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `awaitInitialized()` Awaits the async initialization to finish.
    `AsyncTask` | `initAsyc()` Returns a yet unsubmitted task that will call `Initializable.init()` asynchronously.

    - ### Methods inherited from interface de.esprit.appsuite.launch.Initializable

      `checkInitialized, init, isInitialized`

- - ### Method Detail

    - #### initAsyc

          AsyncTask initAsyc()
                             throws java.lang.Exception

      Returns a yet unsubmitted task that will call `Initializable.init()` asynchronously. The caller may do something else meanwhile and at a later time call `awaitInitialized()` in order to wait on the initialization to finish.
      Throws:
        `java.lang.Exception`

    - #### awaitInitialized

          void awaitInitialized()
                                throws java.lang.InterruptedException

      Awaits the async initialization to finish.
      Throws:
        `java.lang.InterruptedException`

Copyright © 2014 EsprIT-Systems. All Rights Reserved.