|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.smartgears.context.container.DefaultContainerContext
public class DefaultContainerContext
Default ContainerContext implementation.
| Constructor Summary | |
|---|---|
DefaultContainerContext(ContainerConfiguration configuration,
org.gcube.common.events.Hub hub,
ContainerLifecycle lifecycle,
Properties properties)
Creates an instance with mandatory parameters. |
|
| 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. |
|
|
profile(Class<T> type)
Returns the resource profile of a given type of the container. |
|
Properties |
properties()
Returns the properties of the container. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultContainerContext(ContainerConfiguration configuration,
org.gcube.common.events.Hub hub,
ContainerLifecycle lifecycle,
Properties properties)
configuration - the configurationhub - the event hublifecycle - the lifecycleproperties - the properties| Method Detail |
|---|
public <T> T profile(Class<T> type)
ContainerContext
profile in interface ContainerContextpublic ContainerConfiguration configuration()
ContainerContext
configuration in interface ContainerContextpublic ContainerLifecycle lifecycle()
ContainerContext
lifecycle in interface ContainerContextpublic org.gcube.common.events.Hub events()
ContainerContext
events in interface ContainerContextpublic Persistence persistence()
ContainerContext
persistence in interface ContainerContextpublic Properties properties()
ContainerContext
properties in interface ContainerContext
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||