Class ConfigurationHolder
java.lang.Object
org.wso2.carbon.mediation.initializer.utils.ConfigurationHolder
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddSynapseConfiguration(int tenanId, org.apache.synapse.config.SynapseConfiguration synapseConfiguration) voidaddSynapseRegistration(int tenanId, org.osgi.framework.ServiceRegistration serviceRegistration) org.osgi.framework.BundleContextstatic ConfigurationHolderorg.apache.synapse.config.SynapseConfigurationgetSynapseConfiguration(int tenantId) org.osgi.framework.ServiceRegistrationgetSynapseRegistration(int tenantId) voidsetBundleContext(org.osgi.framework.BundleContext bundleContext)
-
Method Details
-
getInstance
-
getBundleContext
public org.osgi.framework.BundleContext getBundleContext() -
setBundleContext
public void setBundleContext(org.osgi.framework.BundleContext bundleContext) -
addSynapseRegistration
public void addSynapseRegistration(int tenanId, org.osgi.framework.ServiceRegistration serviceRegistration) -
getSynapseRegistration
public org.osgi.framework.ServiceRegistration getSynapseRegistration(int tenantId) -
getSynapseConfiguration
public org.apache.synapse.config.SynapseConfiguration getSynapseConfiguration(int tenantId) -
addSynapseConfiguration
public void addSynapseConfiguration(int tenanId, org.apache.synapse.config.SynapseConfiguration synapseConfiguration)
-