Package com.yahoo.component
Interface Component
-
- All Superinterfaces:
Comparable<Component>
- All Known Implementing Classes:
AbstractComponent
,FreezableComponent
,FreezableSimpleComponent
public interface Component extends Comparable<Component>
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ComponentId
getId()
Returns the id of this componentvoid
initId(ComponentId id)
Initializes this.-
Methods inherited from interface java.lang.Comparable
compareTo
-
-
-
-
Method Detail
-
initId
void initId(ComponentId id)
Initializes this. Always called from a constructor or the framework. Do not call.
-
getId
ComponentId getId()
Returns the id of this component
-
-