Class AtomicReferenceInjector<T>

    • Constructor Detail

      • AtomicReferenceInjector

        public AtomicReferenceInjector​(AtomicReference<T> reference)
        Deprecated.
        Construct a new instance.
        Parameters:
        reference - the reference to update
    • Method Detail

      • inject

        public void inject​(T value)
        Deprecated.
        Inject the given value.
        Specified by:
        inject in interface Injector<T>
        Parameters:
        value - the value
      • uninject

        public void uninject()
        Deprecated.
        Uninject the given value (in other words, cancel or undo a previous injection). Only called after inject() has been called.
        Specified by:
        uninject in interface Injector<T>