Class UsageAgentServiceComponent
java.lang.Object
org.wso2.carbon.usage.agent.internal.UsageAgentServiceComponent
this class is used to activate and deactivate the UsageAgentServiceComponent, set and unset
Serverconfigurarion, set and unset EventBrokerService.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidactivate(org.osgi.service.component.ComponentContext context) method to activate UsageAgentServiceComponentprotected voiddeactivate(org.osgi.service.component.ComponentContext context) method to deactivate bundleprotected voidsetConfigurationContextService(org.wso2.carbon.utils.ConfigurationContextService contextService) method to set ConfigurationContextServiceprotected voidsetEventBrokerService(org.wso2.carbon.event.core.EventBroker registryEventBrokerService) method to set EventBrokerServiceprotected voidsetRealmService(org.wso2.carbon.user.core.service.RealmService realmService) method to set RealmServiceprotected voidsetServerConfiguration(org.wso2.carbon.base.api.ServerConfigurationService serverConfiguration) method to set server configurationsprotected voidsetSystemStatisticsUtil(org.wso2.carbon.statistics.services.SystemStatisticsUtil systemStatisticsUtil) protected voidunsetConfigurationContextService(org.wso2.carbon.utils.ConfigurationContextService contextService) method to unset ConfigurationContextServiceprotected voidunsetEventBrokerService(org.wso2.carbon.event.core.EventBroker registryEventBrokerService) method to unset EventBrokerServiceprotected voidunsetRealmService(org.wso2.carbon.user.core.service.RealmService realmService) method to unsetRealmServiceprotected voidunsetServerConfiguration(org.wso2.carbon.base.api.ServerConfigurationService serverConfiguration) method to unset server configurationsprotected voidunsetSystemStatisticsUtil(org.wso2.carbon.statistics.services.SystemStatisticsUtil systemStatisticsUtil)
-
Constructor Details
-
UsageAgentServiceComponent
public UsageAgentServiceComponent()
-
-
Method Details
-
activate
protected void activate(org.osgi.service.component.ComponentContext context) method to activate UsageAgentServiceComponent- Parameters:
context- componentContext
-
deactivate
protected void deactivate(org.osgi.service.component.ComponentContext context) method to deactivate bundle- Parameters:
context- ComponentContext
-
setRealmService
protected void setRealmService(org.wso2.carbon.user.core.service.RealmService realmService) method to set RealmService- Parameters:
realmService- RealmService
-
unsetRealmService
protected void unsetRealmService(org.wso2.carbon.user.core.service.RealmService realmService) method to unsetRealmService- Parameters:
realmService- RealmService
-
setConfigurationContextService
protected void setConfigurationContextService(org.wso2.carbon.utils.ConfigurationContextService contextService) method to set ConfigurationContextService- Parameters:
contextService- ConfigurationContextService
-
unsetConfigurationContextService
protected void unsetConfigurationContextService(org.wso2.carbon.utils.ConfigurationContextService contextService) method to unset ConfigurationContextService- Parameters:
contextService- ConfigurationContextService
-
setServerConfiguration
protected void setServerConfiguration(org.wso2.carbon.base.api.ServerConfigurationService serverConfiguration) method to set server configurations- Parameters:
serverConfiguration- ServerConfiguration
-
unsetServerConfiguration
protected void unsetServerConfiguration(org.wso2.carbon.base.api.ServerConfigurationService serverConfiguration) method to unset server configurations- Parameters:
serverConfiguration- ServerConfiguration
-
setEventBrokerService
protected void setEventBrokerService(org.wso2.carbon.event.core.EventBroker registryEventBrokerService) method to set EventBrokerService- Parameters:
registryEventBrokerService- EventBroker
-
unsetEventBrokerService
protected void unsetEventBrokerService(org.wso2.carbon.event.core.EventBroker registryEventBrokerService) method to unset EventBrokerService- Parameters:
registryEventBrokerService- EventBroker
-
setSystemStatisticsUtil
protected void setSystemStatisticsUtil(org.wso2.carbon.statistics.services.SystemStatisticsUtil systemStatisticsUtil) -
unsetSystemStatisticsUtil
protected void unsetSystemStatisticsUtil(org.wso2.carbon.statistics.services.SystemStatisticsUtil systemStatisticsUtil)
-