COSMOS ${releaseVersion} data-collection Project
Public API Specification

org.eclipse.cosmos.dc.runtime.osgi
Class OSGiRuntimeHost

java.lang.Object
  extended by org.eclipse.cosmos.dc.runtime.Runtime
      extended by org.eclipse.cosmos.dc.runtime.osgi.OSGiRuntimeHost
All Implemented Interfaces:
RuntimeHost

public class OSGiRuntimeHost
extends Runtime
implements RuntimeHost


Field Summary
 
Fields inherited from interface org.eclipse.cosmos.dc.common.spi.RuntimeHost
NAMESPACE, RUNTIMEHOST_QNAME
 
Constructor Summary
OSGiRuntimeHost()
           
 
Method Summary
protected  void activate(org.osgi.service.component.ComponentContext ctx)
           
protected  void deactivate(org.osgi.service.component.ComponentContext ctxt)
           
 IDataCollectionContext loadContext(java.lang.String contextPath)
           
static void setRegistry(ServiceRegistry sreg)
           
 
Methods inherited from class org.eclipse.cosmos.dc.runtime.Runtime
addContext, getActiveCollectorCount, getBindingServiceForNamespace, getContextForName, getContexts, getIdentifier, getRegistry, loadContextFromStream, removeContext, setManager, setRegistry, setServiceRegistry, start, stop, unloadContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.cosmos.dc.common.spi.RuntimeHost
addContext, getContextForName, getContexts, getRegistry, loadContextFromStream, removeContext, start, stop, unloadContext
 

Constructor Detail

OSGiRuntimeHost

public OSGiRuntimeHost()
Method Detail

setRegistry

public static void setRegistry(ServiceRegistry sreg)

activate

protected void activate(org.osgi.service.component.ComponentContext ctx)

deactivate

protected void deactivate(org.osgi.service.component.ComponentContext ctxt)

loadContext

public IDataCollectionContext loadContext(java.lang.String contextPath)
Specified by:
loadContext in interface RuntimeHost
Overrides:
loadContext in class Runtime

COSMOS ${releaseVersion} data-collection Project
Public API Specification