public class ProducerMethodProducer<T,P> extends AbstractProducer<T>
Producer
for producer-method beans.Constructor and Description |
---|
ProducerMethodProducer(javax.enterprise.inject.spi.Bean<P> owner,
javax.enterprise.inject.spi.AnnotatedMethod<? super P> producerMethod,
javax.enterprise.inject.spi.AnnotatedMethod<? super P> disposerMethod,
Set<javax.enterprise.inject.spi.InjectionPoint> points,
Set<javax.enterprise.inject.spi.InjectionPoint> disposalIPs,
WebBeansContext webBeansContext) |
Modifier and Type | Method and Description |
---|---|
void |
dispose(T instance) |
protected T |
produce(Map<javax.enterprise.inject.spi.Interceptor<?>,?> interceptors,
CreationalContextImpl<T> creationalContext) |
void |
specializeBy(javax.enterprise.inject.spi.Bean<P> bean) |
defineInterceptorStack, defineLifecycleInterceptors, getInjectionPoints, getInterceptorInfo, getMethodInterceptors, getProxyFactory, hasInterceptorInfo, isDelegateInjection, needsProxy, produce, unwrapProxyInstance
public ProducerMethodProducer(javax.enterprise.inject.spi.Bean<P> owner, javax.enterprise.inject.spi.AnnotatedMethod<? super P> producerMethod, javax.enterprise.inject.spi.AnnotatedMethod<? super P> disposerMethod, Set<javax.enterprise.inject.spi.InjectionPoint> points, Set<javax.enterprise.inject.spi.InjectionPoint> disposalIPs, WebBeansContext webBeansContext)
public void specializeBy(javax.enterprise.inject.spi.Bean<P> bean)
protected T produce(Map<javax.enterprise.inject.spi.Interceptor<?>,?> interceptors, CreationalContextImpl<T> creationalContext)
produce
in class AbstractProducer<T>
public void dispose(T instance)
dispose
in interface javax.enterprise.inject.spi.Producer<T>
dispose
in class AbstractProducer<T>
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.