org.apache.webbeans.inject
Class OWBInjector

java.lang.Object
  extended by org.apache.webbeans.inject.OWBInjector

public final class OWBInjector
extends Object

Injects dependencies of the given Java EE component instance.

Version:
$Rev$ $Date$

Method Summary
static void inject(javax.enterprise.inject.spi.BeanManager beanManager, Object instanceUnderInjection, javax.enterprise.context.spi.CreationalContext<?> ownerCreationalContext)
          Inject dependencies of given instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

inject

public static void inject(javax.enterprise.inject.spi.BeanManager beanManager,
                          Object instanceUnderInjection,
                          javax.enterprise.context.spi.CreationalContext<?> ownerCreationalContext)
                   throws Exception
Inject dependencies of given instance.

Parameters:
beanManager - the BeanManager to use
instanceUnderInjection - instance
ownerCreationalContext - CreationalContext of the owner
Throws:
Exception - if exception occurs


Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.