org.wamblee.cdi
Class CdiInjector

java.lang.Object
  extended by org.wamblee.cdi.CdiInjector
All Implemented Interfaces:
org.wamblee.inject.Injector

public class CdiInjector
extends java.lang.Object
implements org.wamblee.inject.Injector

Class encapsulating bean injection into a specific non-contextual object of a given class.

Author:
Erik Brakkee

Constructor Summary
CdiInjector(javax.enterprise.inject.spi.BeanManager aMgr, java.lang.Class<?> aClass)
          Constructs the injector.
 
Method Summary
 void inject(java.lang.Object aComponent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CdiInjector

public CdiInjector(javax.enterprise.inject.spi.BeanManager aMgr,
                   java.lang.Class<?> aClass)
Constructs the injector.

Parameters:
aMgr - Bean manager.
aClass - Class to analyse for injection.
Method Detail

inject

public void inject(java.lang.Object aComponent)
Specified by:
inject in interface org.wamblee.inject.Injector


Copyright © 2022. All Rights Reserved.