Class ManagedReferenceInjector<T>

java.lang.Object
org.jboss.as.naming.ManagedReferenceInjector<T>
All Implemented Interfaces:
Injector<T>

public class ManagedReferenceInjector<T> extends Object implements Injector<T>
A n adaptor between value injectors and ManagedReferenceFactory
Author:
Stuart Douglas
  • Constructor Details

  • Method Details

    • inject

      public void inject(T value) throws InjectionException
      Description copied from interface: Injector
      Inject the given value.
      Specified by:
      inject in interface Injector<T>
      Parameters:
      value - the value
      Throws:
      InjectionException - if the injection failed
    • uninject

      public void uninject()
      Description copied from interface: Injector
      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>