public class Container extends Object
Constructor and Description |
---|
Container() |
Modifier and Type | Method and Description |
---|---|
void |
addOptionalRpcAdaptor(com.yahoo.container.osgi.AbstractRpcAdaptor adaptor)
Add an application specific RPC adaptor.
|
static Container |
get() |
com.yahoo.container.core.config.BundleLoader |
getBundleLoader() |
com.yahoo.component.provider.ComponentRegistry<com.yahoo.jdisc.service.ClientProvider> |
getClientProviderRegistry() |
com.yahoo.component.provider.ComponentRegistry<com.yahoo.component.AbstractComponent> |
getComponentRegistry() |
com.yahoo.filedistribution.fileacquirer.FileAcquirer |
getFileAcquirer() |
com.yahoo.component.provider.ComponentRegistry<com.yahoo.jdisc.handler.RequestHandler> |
getRequestHandlerRegistry() |
com.yahoo.container.osgi.ContainerRpcAdaptor |
getRpcAdaptor()
Returns the rpc adaptor owned by this
|
com.yahoo.component.provider.ComponentRegistry<com.yahoo.jdisc.service.ServerProvider> |
getServerProviderRegistry() |
static void |
resetInstance()
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 |
setOsgi(com.yahoo.osgi.Osgi osgi) |
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 |
setupFileAcquirer(QrConfig.Filedistributor filedistributorConfig) |
void |
shutdown() |
public static Container get()
public void setOsgi(com.yahoo.osgi.Osgi osgi)
public void shutdown()
public com.yahoo.container.osgi.ContainerRpcAdaptor getRpcAdaptor()
public com.yahoo.filedistribution.fileacquirer.FileAcquirer getFileAcquirer()
public com.yahoo.container.core.config.BundleLoader getBundleLoader()
public static void resetInstance()
public void addOptionalRpcAdaptor(com.yahoo.container.osgi.AbstractRpcAdaptor adaptor)
adaptor
- the RPC adaptor to add to the Containerpublic com.yahoo.component.provider.ComponentRegistry<com.yahoo.jdisc.handler.RequestHandler> getRequestHandlerRegistry()
public void setRequestHandlerRegistry(com.yahoo.component.provider.ComponentRegistry<com.yahoo.jdisc.handler.RequestHandler> requestHandlerRegistry)
public com.yahoo.component.provider.ComponentRegistry<com.yahoo.jdisc.service.ClientProvider> getClientProviderRegistry()
public void setClientProviderRegistry(com.yahoo.component.provider.ComponentRegistry<com.yahoo.jdisc.service.ClientProvider> clientProviderRegistry)
public com.yahoo.component.provider.ComponentRegistry<com.yahoo.jdisc.service.ServerProvider> getServerProviderRegistry()
public void setServerProviderRegistry(com.yahoo.component.provider.ComponentRegistry<com.yahoo.jdisc.service.ServerProvider> serverProviderRegistry)
public com.yahoo.component.provider.ComponentRegistry<com.yahoo.component.AbstractComponent> getComponentRegistry()
public void setComponentRegistry(com.yahoo.component.provider.ComponentRegistry<com.yahoo.component.AbstractComponent> registry)
public void setupFileAcquirer(QrConfig.Filedistributor filedistributorConfig)
public void setCustomFileAcquirer(com.yahoo.filedistribution.fileacquirer.FileAcquirer fileAcquirer)
Copyright © 2018. All rights reserved.