org.apache.webbeans.inject.xml
Class XMLInjectableMethods<T>

java.lang.Object
  extended by org.apache.webbeans.inject.AbstractInjectable
      extended by org.apache.webbeans.inject.InjectableMethods<T>
          extended by org.apache.webbeans.inject.xml.XMLInjectableMethods<T>
All Implemented Interfaces:
Injectable

public class XMLInjectableMethods<T>
extends InjectableMethods<T>


Field Summary
 
Fields inherited from class org.apache.webbeans.inject.InjectableMethods
instance, method
 
Fields inherited from class org.apache.webbeans.inject.AbstractInjectable
dependentInstanceOfProducerMethods, injectionMember, injectionOwnerBean, injectionOwnerCreationalContext, instanceUnderInjection
 
Constructor Summary
XMLInjectableMethods(Method m, Object instance, AbstractOwbBean<?> owner, List<XMLInjectionPointModel> injectionPointModelList, CreationalContext<?> creationalContext)
           
 
Method Summary
 T doInjection()
          Responsible for injecting the owner required injected component instances.
 
Methods inherited from class org.apache.webbeans.inject.InjectableMethods
destroyDependentInjectionPoints, getDependentBeanParameters, setDisposable, setProducerMethodInstance
 
Methods inherited from class org.apache.webbeans.inject.AbstractInjectable
getInjectedPoints, getInjectionOwnerComponent, inject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLInjectableMethods

public XMLInjectableMethods(Method m,
                            Object instance,
                            AbstractOwbBean<?> owner,
                            List<XMLInjectionPointModel> injectionPointModelList,
                            CreationalContext<?> creationalContext)
Method Detail

doInjection

public T doInjection()
Description copied from interface: Injectable
Responsible for injecting the owner required injected component instances. Maybe returning an component instance, for example, InjectableConstructor.doInjection() returns a new web bean component instance.

Each injetable elements parameters, web beans component instances, are resolved using the resolution type algorithm.

Specified by:
doInjection in interface Injectable
Overrides:
doInjection in class InjectableMethods<T>
Returns:
if the return instance if available


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