Package org.wso2.msf4j.swagger.internal
Class DataHolder
- java.lang.Object
-
- org.wso2.msf4j.swagger.internal.DataHolder
-
public class DataHolder extends java.lang.ObjectDataHolder for Swagger component.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddMicroserviceRegistry(java.lang.String registryId, org.wso2.msf4j.MicroservicesRegistry microservicesRegistry)org.osgi.framework.BundleContextgetBundleContext()static DataHoldergetInstance()java.util.Map<java.lang.String,org.wso2.msf4j.MicroservicesRegistry>getMicroserviceRegistries()org.wso2.msf4j.MicroservicesRegistrygetMicroserviceRegistry(java.lang.String registryId)voidsetBundleContext(org.osgi.framework.BundleContext bundleContext)
-
-
-
Method Detail
-
getInstance
public static DataHolder getInstance()
-
getMicroserviceRegistry
public org.wso2.msf4j.MicroservicesRegistry getMicroserviceRegistry(java.lang.String registryId)
-
addMicroserviceRegistry
public void addMicroserviceRegistry(java.lang.String registryId, org.wso2.msf4j.MicroservicesRegistry microservicesRegistry)
-
getMicroserviceRegistries
public java.util.Map<java.lang.String,org.wso2.msf4j.MicroservicesRegistry> getMicroserviceRegistries()
-
setBundleContext
public void setBundleContext(org.osgi.framework.BundleContext bundleContext)
-
getBundleContext
public org.osgi.framework.BundleContext getBundleContext()
-
-