Home » apache-openwebbeans-1.0.0-incubating-M3-sources » org.apache.webbeans.portable.creation » [javadoc | source]
org.apache.webbeans.portable.creation
abstract public class: AbstractProducer [javadoc | source]
java.lang.Object
   org.apache.webbeans.portable.creation.AbstractProducer

All Implemented Interfaces:
    javax.enterprise.inject.spi.Producer

Direct Known Subclasses:
    ProducerBeansProducer, InjectionTargetProducer

Abstract implementation of Producer contract.
Constructor:
 protected AbstractProducer(AbstractBean<T> bean) 
    Create a new producer with given bean.
    Parameters:
    bean - bean instance
Method from org.apache.webbeans.portable.creation.AbstractProducer Summary:
dispose,   getBean,   getInjectionPoints,   produce
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.webbeans.portable.creation.AbstractProducer Detail:
 public  void dispose(T instance) 
    {@inheritDoc}
 protected X getBean(Class<X> clazz) 
    Returns actual bean instance.
 public Set<InjectionPoint> getInjectionPoints() 
    {@inheritDoc}
 public T produce(CreationalContext<T> creationalContext) 
    {@inheritDoc}