Interface Provider<T>

    • Method Detail

      • get

        T get()
        Provides an instance of T.
        Specified by:
        get in interface javax.inject.Provider<T>
        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.