|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BeanEntry<Q extends java.lang.annotation.Annotation,T>
Map Map.Entry
that maps a JSR330 @Qualifier
annotation to a bean implementation.
Method Summary | |
---|---|
java.lang.String |
getDescription()
Returns a human-readable description of the bean; see @ Description . |
java.lang.Class<T> |
getImplementationClass()
Attempts to find the implementation type without creating the bean instance. |
Q |
getKey()
Returns the @ Qualifier annotation associated with this particular bean. |
int |
getRank()
Returns the bean's rank; higher ranked beans override lower ranked beans. |
java.lang.Object |
getSource()
Returns an arbitrary object that describes where this bean was configured. |
T |
getValue()
Creates an instance of the bean; returns same instance for each subsequent call. |
Methods inherited from interface java.util.Map.Entry |
---|
equals, hashCode, setValue |
Method Detail |
---|
Q getKey()
Qualifier
annotation associated with this particular bean.
getKey
in interface java.util.Map.Entry<Q extends java.lang.annotation.Annotation,T>
T getValue()
getValue
in interface java.util.Map.Entry<Q extends java.lang.annotation.Annotation,T>
java.lang.String getDescription()
Description
.
java.lang.Class<T> getImplementationClass()
null
if the type cannot be determinedjava.lang.Object getSource()
Object.toString()
int getRank()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |