Interface Provider<T>

    • Method Summary

      Modifier and Type Method Description
      T get()
      Provides an instance of T.
    • Method Detail

      • get

        T get()
        Provides an instance of T. Must never return null.
        Throws:
        OutOfScopeException - when an attempt is made to access a scoped object while the scope in question is not currently active
        ProvisionException - if an instance cannot be provided. Such exceptions include messages and throwables to describe why provision failed.