IT. Expert System.

Java Enterprise Edition (EE)

ProcessProducerMethod


javax.enterprise.inject.spi
Interface ProcessProducerMethod<T,X>

Type Parameters:
T - The class of the return type of the producer method
X - The class of the bean representing the producer method
All Superinterfaces:
ProcessBean<X>
public interface ProcessProducerMethod<T,X>
extends ProcessBean<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.

Author:
David Allen

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

getAnnotatedProducerMethod

AnnotatedMethod<T> getAnnotatedProducerMethod()
Returns the AnnotatedMethod representing the producer method.

Returns:
the AnnotatedMethod for the producer method being registered

getAnnotatedDisposedParameter

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.

Returns:
the disposal method's AnnotatedParameter


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 14651 / 248391874. Delta: 0.03160 с