Interface ContainerContext
- All Known Implementing Classes:
DefaultContainerContext
public interface ContainerContext
The management context of the container.
- Author:
- Fabio Simeoni, Luca Frosini (ISTI-CNR)
-
Method Summary
Modifier and TypeMethodDescriptionorg.gcube.common.security.factories.AuthorizationProviderReturns the authorization provider.Returns the configuration of the container.org.gcube.common.events.Hubevents()Returns the event hub of the containerid()Returns the container identifier.Returns the lifecycle of the containerReturns the persistence manager of the container.Returns the properties of the container.
-
Method Details
-
configuration
ContainerConfiguration configuration()Returns the configuration of the container.- Returns:
- the configuration
-
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
-
persistenceWriter
PersistenceWriter persistenceWriter()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()Returns the container identifier.- Returns:
- the container ID
-
authorizationProvider
org.gcube.common.security.factories.AuthorizationProvider authorizationProvider()Returns the authorization provider.- Returns:
- the authorization provider
-