org.gcube.smartgears.context.container
Interface ContainerContext

All Known Implementing Classes:
DefaultContainerContext

public interface ContainerContext

The management context of the container.

Author:
Fabio Simeoni

Method Summary
 ContainerConfiguration configuration()
          Returns the configuration of the container.
 org.gcube.common.events.Hub events()
          Returns the event hub of the container
 ContainerLifecycle lifecycle()
          Returns the lifecycle of the container
 Persistence persistence()
          Returns the persistence manager of the container.
<T> T
profile(Class<T> type)
          Returns the resource profile of a given type of the container.
 Properties properties()
          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


Copyright © 2013. All Rights Reserved.