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

    Modifier and Type
    Method
    Description
    Returns the id of this component
    void
    Initializes this.

    Methods inherited from interface java.lang.Comparable

    compareTo
  • Method Details

    • 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