public class ConfigurationHolder extends Object
Modifier and Type | Method and Description |
---|---|
void |
addSynapseConfiguration(int tenanId,
org.apache.synapse.config.SynapseConfiguration synapseConfiguration) |
void |
addSynapseRegistration(int tenanId,
org.osgi.framework.ServiceRegistration serviceRegistration) |
org.osgi.framework.BundleContext |
getBundleContext() |
static ConfigurationHolder |
getInstance() |
org.apache.synapse.config.SynapseConfiguration |
getSynapseConfiguration(int tenantId) |
org.osgi.framework.ServiceRegistration |
getSynapseRegistration(int tenantId) |
void |
setBundleContext(org.osgi.framework.BundleContext bundleContext) |
public static ConfigurationHolder getInstance()
public org.osgi.framework.BundleContext getBundleContext()
public void setBundleContext(org.osgi.framework.BundleContext bundleContext)
public void addSynapseRegistration(int tenanId, org.osgi.framework.ServiceRegistration serviceRegistration)
public org.osgi.framework.ServiceRegistration getSynapseRegistration(int tenantId)
public org.apache.synapse.config.SynapseConfiguration getSynapseConfiguration(int tenantId)
public void addSynapseConfiguration(int tenanId, org.apache.synapse.config.SynapseConfiguration synapseConfiguration)
Copyright © 2022 WSO2. All rights reserved.