Package com.yahoo.container
Class Container
java.lang.Object
com.yahoo.container.Container
The container instance. This is a Vespa internal object, external code should
only depend on this if there are no other options, and must be prepared to
see it change at no warning.
- Author:
- bratseth
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidstatic Containerget()com.yahoo.component.provider.ComponentRegistry<ClientProvider>com.yahoo.component.provider.ComponentRegistry<com.yahoo.component.AbstractComponent>com.yahoo.component.provider.ComponentRegistry<RequestHandler>com.yahoo.component.provider.ComponentRegistry<ServerProvider>static voidHack.voidsetClientProviderRegistry(com.yahoo.component.provider.ComponentRegistry<ClientProvider> clientProviderRegistry) voidsetComponentRegistry(com.yahoo.component.provider.ComponentRegistry<com.yahoo.component.AbstractComponent> registry) voidsetCustomFileAcquirer(FileAcquirer fileAcquirer) Only for internal use.voidsetRequestHandlerRegistry(com.yahoo.component.provider.ComponentRegistry<RequestHandler> requestHandlerRegistry) voidsetServerProviderRegistry(com.yahoo.component.provider.ComponentRegistry<ServerProvider> serverProviderRegistry) voidvoidvoidshutdown()
-
Constructor Details
-
Container
public Container()
-
-
Method Details
-
get
-
shutdown
public void shutdown() -
getFileAcquirer
-
resetInstance
public static void resetInstance()Hack. For internal use only, will be removed later. Used by Application to be able to repeatedly set up containers. -
getRequestHandlerRegistry
-
setRequestHandlerRegistry
public void setRequestHandlerRegistry(com.yahoo.component.provider.ComponentRegistry<RequestHandler> requestHandlerRegistry) -
getClientProviderRegistry
-
setClientProviderRegistry
public void setClientProviderRegistry(com.yahoo.component.provider.ComponentRegistry<ClientProvider> clientProviderRegistry) -
getServerProviderRegistry
-
setServerProviderRegistry
public void setServerProviderRegistry(com.yahoo.component.provider.ComponentRegistry<ServerProvider> serverProviderRegistry) -
getComponentRegistry
public com.yahoo.component.provider.ComponentRegistry<com.yahoo.component.AbstractComponent> getComponentRegistry() -
setComponentRegistry
public void setComponentRegistry(com.yahoo.component.provider.ComponentRegistry<com.yahoo.component.AbstractComponent> registry) -
setupFileAcquirer
public void setupFileAcquirer() -
setCustomFileAcquirer
Only for internal use. -
setupUrlDownloader
public void setupUrlDownloader() -
disableUrlDownloader
public void disableUrlDownloader()
-