javax.enterprise.inject.spi
Interface InjectionPoint


public interface InjectionPoint

An InjectionPoint object provides metadata information about an injection point. An instance of InjectionPoint may represent one of the following types:

Version:
$Rev$ $Date$

Method Summary
 Annotated getAnnotated()
          Returns annotated object representation of member.
 Bean<?> getBean()
          Returns the injection point owner bean.
 Member getMember()
          Returns appered point for injection point.
 Set<Annotation> getQualifiers()
          Returns required qualifiers of the injection point.
 Type getType()
          Returns required type of the injection point.
 boolean isDelegate()
          Returns true if injection point is decorator delegate, false otherwise.
 boolean isTransient()
          Returns true if injection point is transient, false otherwise.
 

Method Detail

getType

Type getType()
Returns required type of the injection point.

Returns:
type of the injection point

getQualifiers

Set<Annotation> getQualifiers()
Returns required qualifiers of the injection point.

Returns:
qualifiers at the injection point

getBean

Bean<?> getBean()
Returns the injection point owner bean.

If there is no bean for the injection point, it returns null.

Returns:
injection point owner bean

getMember

Member getMember()
Returns appered point for injection point. One of

Returns:
where the injection point is appeared

getAnnotated

Annotated getAnnotated()
Returns annotated object representation of member.

Returns:
annotated

isDelegate

boolean isDelegate()
Returns true if injection point is decorator delegate, false otherwise.

Returns:
true if injection point is decorator delegate

isTransient

boolean isTransient()
Returns true if injection point is transient, false otherwise.

Returns:
true if injection point is transient


Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.