Interface Provider<T>

    • Method Detail

      • get

        T get()
        Provides an instance of T. Must never return null.
        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.