Package com.yahoo.component
Interface Component
- All Superinterfaces:
Comparable<Component>
- All Known Implementing Classes:
AbstractComponent
,FreezableComponent
,FreezableSimpleComponent
A named, versioned, identifiable component. Components can by default be ordered by their id order. Their identity is defined by the id.
Container components to be created via dependency injection do not need to implement this interface.
- Author:
- bratseth
-
Method Summary
Modifier and TypeMethodDescriptiongetId()
Returns the id of this componentvoid
initId
(ComponentId id) Initializes this.Methods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
initId
Initializes this. Always called from a constructor or the framework. Do not call. -
getId
ComponentId getId()Returns the id of this component
-