Package io.avaje.inject
Class BeanEntry<T>
- java.lang.Object
-
- io.avaje.inject.BeanEntry<T>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TgetBean()Return the bean.StringgetName()Return the bean name.intgetPriority()Return the priority (Primary, Normal and Secondary).booleanisPrimary()Return true if this entry has Primary priority.booleanisSecondary()Return true if this entry has Secondary priority.booleanisSupplied()Return true if this entry has Supplied priority.StringtoString()
-
-
-
Field Detail
-
SUPPLIED
public static final int SUPPLIED
An explicitly supplied bean. See BeanContextBuilder.- See Also:
- Constant Field Values
-
PRIMARY
public static final int PRIMARY
An@Primarybean.- See Also:
- Constant Field Values
-
NORMAL
public static final int NORMAL
A normal priority bean.- See Also:
- Constant Field Values
-
SECONDARY
public static final int SECONDARY
A@Secondarybean.- See Also:
- Constant Field Values
-
-
Method Detail
-
getPriority
public int getPriority()
Return the priority (Primary, Normal and Secondary).
-
isSupplied
public boolean isSupplied()
Return true if this entry has Supplied priority.
-
isPrimary
public boolean isPrimary()
Return true if this entry has Primary priority.
-
isSecondary
public boolean isSecondary()
Return true if this entry has Secondary priority.
-
-