org.apache.webbeans.ejb.common.util
Class CdiDefaultEjbInjector

java.lang.Object
  extended by org.apache.webbeans.ejb.common.util.CdiDefaultEjbInjector

public class CdiDefaultEjbInjector
extends Object


Constructor Summary
CdiDefaultEjbInjector()
          Default constructor.
 
Method Summary
 void injectDependenciesOfEjbInstance(Object ejbInstance, Object mapKey)
          Inject dependencies of given ejb instance.
 void injectDependenciesOfEjbInterceptor(Object ejbInstance, Object interceptorInstance, Object mapKey)
          Inject dependencies of given interceptor instance.
 void releaseNonContextualDependents(Object mapKey)
          Release context for noncontextual ejb instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CdiDefaultEjbInjector

public CdiDefaultEjbInjector()
Default constructor.

Method Detail

injectDependenciesOfEjbInstance

public void injectDependenciesOfEjbInstance(Object ejbInstance,
                                            Object mapKey)
                                     throws Exception
Inject dependencies of given ejb instance.

Parameters:
ejbInstance - ejb instance
Throws:
Exception - if any exception occurs

injectDependenciesOfEjbInterceptor

public void injectDependenciesOfEjbInterceptor(Object ejbInstance,
                                               Object interceptorInstance,
                                               Object mapKey)
                                        throws Exception
Inject dependencies of given interceptor instance.

Parameters:
ejbInstance - ejb instance
interceptorInstance - interceptor instance
Throws:
Exception - if any exception occurs

releaseNonContextualDependents

public void releaseNonContextualDependents(Object mapKey)
                                    throws Exception
Release context for noncontextual ejb instance.

Parameters:
destroyInstance - ejb instance under destroy
Throws:
Exception - if any exception occurs


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