Class ViewManagedReferenceFactory.Injector

java.lang.Object
org.jboss.as.ee.component.ViewManagedReferenceFactory.Injector
All Implemented Interfaces:
org.jboss.msc.inject.Injector<ComponentView>
Enclosing class:
ViewManagedReferenceFactory

public static class ViewManagedReferenceFactory.Injector extends Object implements org.jboss.msc.inject.Injector<ComponentView>
The bridge injector for binding views into JNDI. Injects a ComponentView wrapped as a ManagedReferenceFactory.
  • Constructor Details

    • Injector

      public Injector(org.jboss.msc.inject.Injector<ManagedReferenceFactory> referenceFactoryInjector)
      Construct a new instance.
      Parameters:
      referenceFactoryInjector - the injector from the binder service
  • Method Details

    • inject

      public void inject(ComponentView value) throws org.jboss.msc.inject.InjectionException
      Specified by:
      inject in interface org.jboss.msc.inject.Injector<ComponentView>
      Throws:
      org.jboss.msc.inject.InjectionException
    • uninject

      public void uninject()
      Specified by:
      uninject in interface org.jboss.msc.inject.Injector<ComponentView>