public class InjectableMethods<T> extends AbstractInjectable
| Modifier and Type | Field and Description |
|---|---|
protected Object |
instance
Bean parent instance that owns the method
|
protected Method |
method
Injectable method
|
dependentInstanceOfProducerMethods, injectionMember, injectionOwnerBean, injectionOwnerCreationalContext, instanceUnderInjection| Constructor and Description |
|---|
InjectableMethods(Method m,
Object instance,
OwbBean<?> owner,
javax.enterprise.context.spi.CreationalContext<?> creationalContext)
Constructs new instance.
|
| Modifier and Type | Method and Description |
|---|---|
T |
doInjection()
Responsible for injecting the owner required injected component
instances.
|
Map<javax.enterprise.inject.spi.Bean<?>,Object> |
getDependentBeanParameters() |
void |
setDisposable(boolean disposable) |
void |
setProducerMethodInstance(Object instance) |
getInjectedPoints, getInjectionOwnerComponent, injectprotected Method method
protected Object instance
public T doInjection()
InjectableInjectableConstructor.doInjection() returns a new web bean
component instance.
Each injetable elements parameters, web beans component instances, are resolved using the resolution type algorithm.
public Map<javax.enterprise.inject.spi.Bean<?>,Object> getDependentBeanParameters()
public void setDisposable(boolean disposable)
disposable - the disposable to setpublic void setProducerMethodInstance(Object instance)
Copyright © 2008-2013 The Apache Software Foundation. All Rights Reserved.