Interface MainContainerService<T>

Type Parameters:
T - the type of implementations stored in the container
All Known Subinterfaces:
BoxTypeContainerService, CollectionTypeContainerService, ObjectTypeContainerService
All Known Implementing Classes:
DefaultBoxTypeContainer, DefaultCollectionTypeContainer, DefaultObjectTypeContainer

public interface MainContainerService<T>
This interface provides a container for implementations of a specific type `T`. Implementing classes should maintain a map that maps classes to their corresponding implementations of type `T`.
  • Method Summary

    Modifier and Type
    Method
    Description
    Map<Class<?>,T>
    Returns the container map containing implementations of type `T`, mapped to their corresponding classes.
  • Method Details

    • getContainer

      Map<Class<?>,T> getContainer()
      Returns the container map containing implementations of type `T`, mapped to their corresponding classes.
      Returns:
      the container map of implementations of type `T`