Package com.yahoo.container.di
Class Container
java.lang.Object
com.yahoo.container.di.Container
- Author:
- gjoranv, Tony Vaagenes, ollivir
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionContainer
(SubscriberFactory subscriberFactory, String configId, ComponentDeconstructor destructor, Osgi osgi) -
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends com.yahoo.config.ConfigInstance>
TgetConfig
(com.yahoo.vespa.config.ConfigKey<T> key, Map<com.yahoo.vespa.config.ConfigKey<? extends com.yahoo.config.ConfigInstance>, com.yahoo.config.ConfigInstance> configs) void
reloadConfig
(long generation) void
shutdown
(ComponentGraph graph) void
waitForNextGraphGeneration
(ComponentGraph oldGraph, com.google.inject.Injector fallbackInjector, boolean isInitializing)
-
Constructor Details
-
Container
public Container(SubscriberFactory subscriberFactory, String configId, ComponentDeconstructor destructor, Osgi osgi)
-
-
Method Details
-
waitForNextGraphGeneration
public Container.ComponentGraphResult waitForNextGraphGeneration(ComponentGraph oldGraph, com.google.inject.Injector fallbackInjector, boolean isInitializing) -
shutdown
-
shutdownConfigRetriever
public void shutdownConfigRetriever() -
reloadConfig
public void reloadConfig(long generation) -
getConfig
public static <T extends com.yahoo.config.ConfigInstance> T getConfig(com.yahoo.vespa.config.ConfigKey<T> key, Map<com.yahoo.vespa.config.ConfigKey<? extends com.yahoo.config.ConfigInstance>, com.yahoo.config.ConfigInstance> configs)
-