| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
T - The return type of the producer methodX - The class of the bean declaring the producer methodpublic interface ProcessProducerMethod<T,X>
 The container fires an event of this type for each enabled producer method, 
 before registering the Bean object.
 
 If any observer method of a ProcessProducerMethod event throws an
 exception, the exception is treated as a definition error by the container.
 
| Method Summary | |
|---|---|
 AnnotatedParameter<T> | 
getAnnotatedDisposedParameter()
Returns the AnnotatedParameter for
 any matching injection point of the same type as the producer method
 return type found on a disposal method. | 
 AnnotatedMethod<T> | 
getAnnotatedProducerMethod()
Returns the AnnotatedMethod
 representing the producer method. | 
| Methods inherited from interface javax.enterprise.inject.spi.ProcessBean | 
|---|
addDefinitionError, getAnnotated, getBean | 
| Method Detail | 
|---|
AnnotatedMethod<T> getAnnotatedProducerMethod()
AnnotatedMethod
 representing the producer method.
AnnotatedMethod for the
         producer method being registeredAnnotatedParameter<T> getAnnotatedDisposedParameter()
AnnotatedParameter for
 any matching injection point of the same type as the producer method
 return type found on a disposal method.
AnnotatedParameter
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.
Generated on 10-February-2011 12:41