Class InstanceImpl<T>

    • Method Detail

      • get

        public T get()
        Specified by:
        get in interface javax.inject.Provider<T>
      • isUnsatisfied

        public boolean isUnsatisfied()
        Specified by:
        isUnsatisfied in interface javax.enterprise.inject.Instance<T>
      • isAmbiguous

        public boolean isAmbiguous()
        Specified by:
        isAmbiguous in interface javax.enterprise.inject.Instance<T>
      • destroy

        public void destroy​(Object instance)
        Specified by:
        destroy in interface javax.enterprise.inject.Instance<T>
      • hasDependentInstances

        public boolean hasDependentInstances()
      • clearCache

        public void clearCache()
        Description copied from interface: InjectableInstance
        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.
        Specified by:
        clearCache in interface InjectableInstance<T>
        See Also:
        WithCaching