Class Container


  • public class Container
    extends java.lang.Object
    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 Detail

      • Container

        public Container()
    • Method Detail

      • 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)
      • setCustomFileAcquirer

        public void setCustomFileAcquirer​(com.yahoo.filedistribution.fileacquirer.FileAcquirer fileAcquirer)
        Only for internal use.
      • setupUrlDownloader

        public void setupUrlDownloader()