Interface ObjectRegistry<O extends java.lang.Enum<O>>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.Object getObject​(int index)
      Obtains the dependency Object by its index.
      java.lang.Object getObject​(O key)
      Obtains the dependency Object for the dependency key.
    • Method Detail

      • getObject

        java.lang.Object getObject​(O key)
        Obtains the dependency Object for the dependency key.
        Parameters:
        key - Key identifying the dependency Object.
        Returns:
        Dependency Object for the key.
      • getObject

        java.lang.Object getObject​(int index)

        Obtains the dependency Object by its index.

        This enables a dynamic number of dependencies for the ManagedObject.

        Parameters:
        index - Index identifying the dependency Object.
        Returns:
        Dependency Object for the index.