public class ProcessProducerImpl<T,X> extends AbstractDefinitionContainerEvent implements ProcessProducer<T,X>
Modifier and Type | Method and Description |
---|---|
protected static <T,X> void |
fire(BeanManagerImpl beanManager,
AbstractProducerBean<T,X,java.lang.reflect.Member> bean) |
AnnotatedMember<T> |
getAnnotatedMember()
Returns the
AnnotatedField representing the producer field or the
AnnotatedMethod representing the producer method. |
Producer<X> |
getProducer()
Returns the
Producer object that will be used by the container to call the producer
method or read the producer field. |
void |
setProducer(Producer<X> producer)
Replaces the
Producer object that will be used by the container to call the producer
method or read the producer field. |
addDefinitionError, fire
getActualTypeArguments, getBeanManager, getErrors, getRawType
checkWithinObserverNotification, getReceiver, postNotify, preNotify
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addDefinitionError
protected static <T,X> void fire(BeanManagerImpl beanManager, AbstractProducerBean<T,X,java.lang.reflect.Member> bean)
public AnnotatedMember<T> getAnnotatedMember()
ProcessProducer
AnnotatedField
representing the producer field or the
AnnotatedMethod
representing the producer method.getAnnotatedMember
in interface ProcessProducer<T,X>
AnnotatedMember
representing the producerpublic Producer<X> getProducer()
ProcessProducer
Producer
object that will be used by the container to call the producer
method or read the producer field.getProducer
in interface ProcessProducer<T,X>
Producer
invoker object used by the containerpublic void setProducer(Producer<X> producer)
ProcessProducer
Producer
object that will be used by the container to call the producer
method or read the producer field.setProducer
in interface ProcessProducer<T,X>
producer
- the new Producer
object to useCopyright © 2014. All Rights Reserved.