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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
static Container
get()
com.yahoo.component.provider.ComponentRegistry<com.yahoo.jdisc.service.ClientProvider>
com.yahoo.component.provider.ComponentRegistry<com.yahoo.component.AbstractComponent>
com.yahoo.filedistribution.fileacquirer.FileAcquirer
com.yahoo.component.provider.ComponentRegistry<com.yahoo.jdisc.handler.RequestHandler>
com.yahoo.component.provider.ComponentRegistry<com.yahoo.jdisc.service.ServerProvider>
static void
Hack.void
setClientProviderRegistry
(com.yahoo.component.provider.ComponentRegistry<com.yahoo.jdisc.service.ClientProvider> clientProviderRegistry) void
setComponentRegistry
(com.yahoo.component.provider.ComponentRegistry<com.yahoo.component.AbstractComponent> registry) void
setCustomFileAcquirer
(com.yahoo.filedistribution.fileacquirer.FileAcquirer fileAcquirer) Only for internal use.void
setRequestHandlerRegistry
(com.yahoo.component.provider.ComponentRegistry<com.yahoo.jdisc.handler.RequestHandler> requestHandlerRegistry) void
setServerProviderRegistry
(com.yahoo.component.provider.ComponentRegistry<com.yahoo.jdisc.service.ServerProvider> serverProviderRegistry) void
void
void
shutdown()
-
Constructor Details
-
Container
public Container()
-
-
Method Details
-
get
-
shutdown
public void shutdown() -
getFileAcquirer
public com.yahoo.filedistribution.fileacquirer.FileAcquirer 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
public com.yahoo.component.provider.ComponentRegistry<com.yahoo.jdisc.handler.RequestHandler> getRequestHandlerRegistry() -
setRequestHandlerRegistry
public void setRequestHandlerRegistry(com.yahoo.component.provider.ComponentRegistry<com.yahoo.jdisc.handler.RequestHandler> requestHandlerRegistry) -
getClientProviderRegistry
public com.yahoo.component.provider.ComponentRegistry<com.yahoo.jdisc.service.ClientProvider> getClientProviderRegistry() -
setClientProviderRegistry
public void setClientProviderRegistry(com.yahoo.component.provider.ComponentRegistry<com.yahoo.jdisc.service.ClientProvider> clientProviderRegistry) -
getServerProviderRegistry
public com.yahoo.component.provider.ComponentRegistry<com.yahoo.jdisc.service.ServerProvider> getServerProviderRegistry() -
setServerProviderRegistry
public void setServerProviderRegistry(com.yahoo.component.provider.ComponentRegistry<com.yahoo.jdisc.service.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
public void setCustomFileAcquirer(com.yahoo.filedistribution.fileacquirer.FileAcquirer fileAcquirer) Only for internal use. -
setupUrlDownloader
public void setupUrlDownloader() -
disableUrlDownloader
public void disableUrlDownloader()
-