public class ThrottlingAgentServiceComponent extends Object
Constructor and Description |
---|
ThrottlingAgentServiceComponent() |
Modifier and Type | Method and Description |
---|---|
protected void |
activate(org.osgi.service.component.ComponentContext context) |
protected void |
deactivate(org.osgi.service.component.ComponentContext context) |
static ThrottlingAgent |
getThrottlingAgent() |
void |
registerThrottlingAgent(org.osgi.framework.BundleContext bundleContext)
Register throttling agent service that use to update throttling rules when users try to
upgrade down grade usage plans
|
protected void |
setConfigurationContextService(org.wso2.carbon.utils.ConfigurationContextService contextService) |
protected void |
setRealmService(org.wso2.carbon.user.core.service.RealmService realmService) |
protected void |
setRegistryService(org.wso2.carbon.registry.core.service.RegistryService registryService) |
protected void |
setStratosConfigurationService(org.wso2.carbon.stratos.common.util.StratosConfiguration stratosConfigService) |
protected void |
unsetConfigurationContextService(org.wso2.carbon.utils.ConfigurationContextService contextService) |
protected void |
unsetRealmService(org.wso2.carbon.user.core.service.RealmService realmService) |
protected void |
unsetRegistryService(org.wso2.carbon.registry.core.service.RegistryService registryService) |
protected void |
unsetStratosConfigurationService(org.wso2.carbon.stratos.common.util.StratosConfiguration ccService) |
protected void activate(org.osgi.service.component.ComponentContext context)
public void registerThrottlingAgent(org.osgi.framework.BundleContext bundleContext)
bundleContext
- bundle context that need to initialize throttling agentprotected void deactivate(org.osgi.service.component.ComponentContext context)
protected void setRegistryService(org.wso2.carbon.registry.core.service.RegistryService registryService)
protected void unsetRegistryService(org.wso2.carbon.registry.core.service.RegistryService registryService)
protected void setRealmService(org.wso2.carbon.user.core.service.RealmService realmService)
protected void unsetRealmService(org.wso2.carbon.user.core.service.RealmService realmService)
protected void setConfigurationContextService(org.wso2.carbon.utils.ConfigurationContextService contextService)
protected void unsetConfigurationContextService(org.wso2.carbon.utils.ConfigurationContextService contextService)
public static ThrottlingAgent getThrottlingAgent()
protected void setStratosConfigurationService(org.wso2.carbon.stratos.common.util.StratosConfiguration stratosConfigService)
protected void unsetStratosConfigurationService(org.wso2.carbon.stratos.common.util.StratosConfiguration ccService)
Copyright © 2021 WSO2. All rights reserved.