Interface ContainerContext
-
- All Known Implementing Classes:
DefaultContainerContext
public interface ContainerContextThe management context of the container.- Author:
- Fabio Simeoni
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ContainerConfigurationconfiguration()Returns the configuration of the container.org.gcube.common.events.Hubevents()Returns the event hub of the containerStringid()ContainerLifecyclelifecycle()Returns the lifecycle of the containerPersistencepersistence()Returns the persistence manager of the container.<T> Tprofile(Class<T> type)Returns the resource profile of a given type of the container.Propertiesproperties()Returns the properties of the container.
-
-
-
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
-
id
String id()
-
-