Package com.yahoo.container.core.config
Class HandlersConfigurerDi
- java.lang.Object
-
- com.yahoo.container.core.config.HandlersConfigurerDi
-
public class HandlersConfigurerDi extends Object
For internal use only.- Author:
- Tony Vaagenes, gjoranv
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HandlersConfigurerDi.RegistriesHack
-
Constructor Summary
Constructors Constructor Description HandlersConfigurerDi(SubscriberFactory subscriberFactory, Container vespaContainer, String configId, ComponentDeconstructor deconstructor, com.google.inject.Injector discInjector, com.yahoo.jdisc.application.OsgiFramework osgiFramework)
HandlersConfigurerDi(SubscriberFactory subscriberFactory, Container vespaContainer, String configId, ComponentDeconstructor deconstructor, com.google.inject.Injector discInjector, OsgiWrapper osgiWrapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
generation()
Returns the currently active application configuration generation<T> T
getComponent(Class<T> componentClass)
void
getNewComponentGraph(com.google.inject.Injector discInjector, boolean isInitializing)
Wait for new config to arrive and produce the new graphvoid
reloadConfig(long generation)
void
shutdown(ComponentDeconstructor deconstructor)
-
-
-
Constructor Detail
-
HandlersConfigurerDi
public HandlersConfigurerDi(SubscriberFactory subscriberFactory, Container vespaContainer, String configId, ComponentDeconstructor deconstructor, com.google.inject.Injector discInjector, com.yahoo.jdisc.application.OsgiFramework osgiFramework)
-
HandlersConfigurerDi
public HandlersConfigurerDi(SubscriberFactory subscriberFactory, Container vespaContainer, String configId, ComponentDeconstructor deconstructor, com.google.inject.Injector discInjector, OsgiWrapper osgiWrapper)
-
-
Method Detail
-
getNewComponentGraph
public void getNewComponentGraph(com.google.inject.Injector discInjector, boolean isInitializing)
Wait for new config to arrive and produce the new graph
-
reloadConfig
public void reloadConfig(long generation)
-
getComponent
public <T> T getComponent(Class<T> componentClass)
-
shutdown
public void shutdown(ComponentDeconstructor deconstructor)
-
generation
public long generation()
Returns the currently active application configuration generation
-
-