A bean entry with priority and optional name.
- See Also:
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbean()Return the bean instance.booleanReturn true if the entry has a key for this type.keys()Return the type keys for this bean.intpriority()Return the priority indicating if the bean is Supplied Primary, Normal or Secondary.Return the bean name.Class<?> type()The bean instance type.
-
Field Details
-
SUPPLIED
Priority of externally supplied bean.- See Also:
-
PRIMARY
Priority of@Primarybean.- See Also:
-
NORMAL
Priority of normal bean.- See Also:
-
SECONDARY
Priority of@Secondarybean.- See Also:
-
-
Method Details
-
qualifierName
Return the bean name. -
bean
Return the bean instance. -
type
The bean instance type. -
priority
int priority()Return the priority indicating if the bean is Supplied Primary, Normal or Secondary. -
keys
Return the type keys for this bean.This is the set of type, interface types and annotation types that the entry is registered for.
-
hasKey
Return true if the entry has a key for this type.This is true if the keys contains the canonical name of the given type.
- Parameters:
type- The type to match. Can be any type including concrete, interface or annotation type.
-