Interface ContainerContext

  • All Known Implementing Classes:
    DefaultContainerContext

    public interface ContainerContext
    The management context of the container.
    Author:
    Fabio Simeoni
    • Method Detail

      • configuration

        ContainerConfiguration configuration()
        Returns the configuration of the container.
        Returns:
        the configuration
      • profile

        <T> T profile​(Class<T> type)
        Returns the resource profile of a given type of the container.
        Returns:
        the profile
      • lifecycle

        ContainerLifecycle lifecycle()
        Returns the lifecycle of the container
        Returns:
        the lifecycle
      • events

        org.gcube.common.events.Hub events()
        Returns the event hub of the container
        Returns:
        the hub
      • persistence

        Persistence persistence()
        Returns the persistence manager of the container.
        Returns:
        the manager
      • properties

        Properties properties()
        Returns the properties of the container.
        Returns:
        the properties