public abstract class ProducerMethodProducer<X,T> extends AbstractMemberProducer<X,T>
Producer
implementation for producer methods.Constructor and Description |
---|
ProducerMethodProducer(EnhancedAnnotatedMethod<T,? super X> enhancedAnnotatedMethod,
DisposalMethod<?,?> disposalMethod) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkProducerMethod(EnhancedAnnotatedMethod<T,? super X> method)
Validates the producer method
|
AnnotatedMember<? super X> |
getAnnotated() |
Set<InjectionPoint> |
getInjectionPoints()
Returns the set of all
InjectionPoints . |
protected T |
produce(Object receiver,
CreationalContext<T> ctx) |
checkDeclaringBean, checkProducerReturnType, dispose, getBean, getBeanManager, getDeclaringBean, getDisposalMethod, getReceiver, isTypeSerializable, produce, toString
checkDelegateInjectionPoints, equals, hashCode
public ProducerMethodProducer(EnhancedAnnotatedMethod<T,? super X> enhancedAnnotatedMethod, DisposalMethod<?,?> disposalMethod)
protected void checkProducerMethod(EnhancedAnnotatedMethod<T,? super X> method)
public Set<InjectionPoint> getInjectionPoints()
Producer
Returns the set of all InjectionPoints
. If the Producer
represents a class, then this returns returns the
set of InjectionPoint
objects representing all injected fields, bean constructor parameters and initializer
method parameters. For a producer method, this returns the set of InjectionPoint
objects representing all
parameters of the producer method.
protected T produce(Object receiver, CreationalContext<T> ctx)
produce
in class AbstractMemberProducer<X,T>
public AnnotatedMember<? super X> getAnnotated()
getAnnotated
in class AbstractMemberProducer<X,T>
Copyright © 2013 Seam Framework. All Rights Reserved.