Interface Component

  • All Superinterfaces:
    java.lang.Comparable<Component>
    All Known Implementing Classes:
    AbstractComponent, FreezableComponent, FreezableSimpleComponent

    public interface Component
    extends java.lang.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 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