Interface InjectableInstance<T>

  • Type Parameters:
    T -
    All Superinterfaces:
    javax.enterprise.inject.Instance<T>, Iterable<T>, javax.inject.Provider<T>
    All Known Implementing Classes:
    InstanceImpl

    public interface InjectableInstance<T>
    extends javax.enterprise.inject.Instance<T>
    Enhanced version of Instance.
    • Method Detail

      • select

        <U extends TInjectableInstance<U> select​(javax.enterprise.util.TypeLiteral<U> subtype,
                                                   Annotation... qualifiers)
        Specified by:
        select in interface javax.enterprise.inject.Instance<T>
      • clearCache

        void clearCache()
        Removes the cached result of the Provider.get() operation. If the cached result was a contextual reference of a Dependent bean, destroy the reference as well.
        See Also:
        WithCaching