public class DataHolder extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
addMicroserviceRegistry(String registryId,
org.wso2.msf4j.MicroservicesRegistry microservicesRegistry) |
org.osgi.framework.BundleContext |
getBundleContext() |
static DataHolder |
getInstance() |
Map<String,org.wso2.msf4j.MicroservicesRegistry> |
getMicroserviceRegistries() |
org.wso2.msf4j.MicroservicesRegistry |
getMicroserviceRegistry(String registryId) |
void |
setBundleContext(org.osgi.framework.BundleContext bundleContext) |
public static DataHolder getInstance()
public org.wso2.msf4j.MicroservicesRegistry getMicroserviceRegistry(String registryId)
public void addMicroserviceRegistry(String registryId, org.wso2.msf4j.MicroservicesRegistry microservicesRegistry)
public Map<String,org.wso2.msf4j.MicroservicesRegistry> getMicroserviceRegistries()
public void setBundleContext(org.osgi.framework.BundleContext bundleContext)
public org.osgi.framework.BundleContext getBundleContext()
Copyright © 2018 WSO2. All rights reserved.