org.apache.webbeans.component.creation
Class MethodProducerFactory<P>

java.lang.Object
  extended by org.apache.webbeans.component.creation.BaseProducerFactory<P>
      extended by org.apache.webbeans.component.creation.MethodProducerFactory<P>
All Implemented Interfaces:
javax.enterprise.inject.spi.ProducerFactory<P>

public class MethodProducerFactory<P>
extends BaseProducerFactory<P>


Field Summary
 
Fields inherited from class org.apache.webbeans.component.creation.BaseProducerFactory
disposalMethod, parent, webBeansContext
 
Constructor Summary
MethodProducerFactory(javax.enterprise.inject.spi.AnnotatedMethod<? super P> producerMethod, javax.enterprise.inject.spi.Bean<P> parent, WebBeansContext webBeansContext)
           
 
Method Summary
protected  Set<javax.enterprise.inject.spi.InjectionPoint> createInjectionPoints(javax.enterprise.inject.spi.Bean<?> bean)
           
<T> javax.enterprise.inject.spi.Producer<T>
createProducer(javax.enterprise.inject.spi.Bean<T> bean)
           
 Class<?> getReturnType()
           
protected  javax.enterprise.inject.spi.AnnotatedMember<? super P> producerType()
           
 
Methods inherited from class org.apache.webbeans.component.creation.BaseProducerFactory
defineDisposalMethod, getInjectionPoints
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodProducerFactory

public MethodProducerFactory(javax.enterprise.inject.spi.AnnotatedMethod<? super P> producerMethod,
                             javax.enterprise.inject.spi.Bean<P> parent,
                             WebBeansContext webBeansContext)
Method Detail

producerType

protected javax.enterprise.inject.spi.AnnotatedMember<? super P> producerType()
Specified by:
producerType in class BaseProducerFactory<P>

getReturnType

public Class<?> getReturnType()

createProducer

public <T> javax.enterprise.inject.spi.Producer<T> createProducer(javax.enterprise.inject.spi.Bean<T> bean)

createInjectionPoints

protected Set<javax.enterprise.inject.spi.InjectionPoint> createInjectionPoints(javax.enterprise.inject.spi.Bean<?> bean)


Copyright © 2008–2015 The Apache Software Foundation. All rights reserved.