org.apache.webbeans.inject
Class InjectableMethods<T>
java.lang.Object
org.apache.webbeans.inject.AbstractInjectable
org.apache.webbeans.inject.InjectableMethods<T>
- All Implemented Interfaces:
- Injectable
public class InjectableMethods<T>
- extends AbstractInjectable
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
method
protected Method method
- Injectable method
instance
protected Object instance
- Bean parent instance that owns the method
InjectableMethods
public InjectableMethods(Method m,
Object instance,
OwbBean<?> owner,
javax.enterprise.context.spi.CreationalContext<?> creationalContext)
- Constructs new instance.
- Parameters:
m - injectable methodinstance - component instance
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.
- Returns:
- if the return instance if available
getDependentBeanParameters
public Map<javax.enterprise.inject.spi.Bean<?>,Object> getDependentBeanParameters()
setDisposable
public void setDisposable(boolean disposable)
- Parameters:
disposable - the disposable to set
setProducerMethodInstance
public void setProducerMethodInstance(Object instance)
Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.