public class InjectableMethod<T> extends AbstractInjectable<T>
Modifier and Type | Field and Description |
---|---|
protected Method |
method
Injectable method
|
protected Object |
ownerInstance
Bean parent instance that owns the method
|
creationalContext
Constructor and Description |
---|
InjectableMethod(Method m,
Object instance,
javax.enterprise.inject.spi.Producer<T> owner,
CreationalContextImpl<T> creationalContext) |
InjectableMethod(Method m,
Object instance,
javax.enterprise.inject.spi.Producer<T> owner,
CreationalContextImpl<T> creationalContext,
Set<javax.enterprise.inject.spi.InjectionPoint> ips)
Constructs new instance.
|
Modifier and Type | Method and Description |
---|---|
T |
doInjection() |
Map<javax.enterprise.inject.spi.Bean<?>,Object> |
getDependentBeanParameters() |
void |
setDisposable(boolean disposable) |
void |
setProducerMethodInstance(Object instance) |
createInjectionPoints, getBean, getInjectionPoints, getWebBeansContext, inject
protected Method method
protected Object ownerInstance
public InjectableMethod(Method m, Object instance, javax.enterprise.inject.spi.Producer<T> owner, CreationalContextImpl<T> creationalContext)
public InjectableMethod(Method m, Object instance, javax.enterprise.inject.spi.Producer<T> owner, CreationalContextImpl<T> creationalContext, Set<javax.enterprise.inject.spi.InjectionPoint> ips)
m
- injectable methodinstance
- component instancepublic T doInjection()
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–2016 The Apache Software Foundation. All rights reserved.