Class DataHolder


  • public class DataHolder
    extends java.lang.Object
    DataHolder for Swagger component.
    • 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()