Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package javax.enterprise.inject.spi;
 
 import java.util.Set;

The BeanAttributes interface exposes the basic attributes of a bean.

Parameters:
<T> the class of the bean instance
Author(s):
Pete Muir
Since:
1.1
public interface BeanAttributes<T> {

    
Obtains the bean types of the bean.

Returns:
the bean types
    public Set<TypegetTypes();

    
Obtains the qualifiers of the bean.

Returns:
the qualifiers
    public Set<AnnotationgetQualifiers();

    
Obtains the scope of the bean.

Returns:
the scope
    public Class<? extends AnnotationgetScope();

    
Obtains the EL name of a bean, if it has one.

Returns:
the EL name
    public String getName();

    
Obtains the stereotypes of the bean.

Returns:
the set of stereotypes
    public Set<Class<? extends Annotation>> getStereotypes();

    
Determines if the bean is an alternative.

Returns:
true if the bean is an alternative, and false otherwise.
    public boolean isAlternative();
New to GrepCode? Check out our FAQ X