org.wso2.carbon.usage.agent.internal
Class UsageAgentServiceComponent

java.lang.Object
  extended by org.wso2.carbon.usage.agent.internal.UsageAgentServiceComponent

public class UsageAgentServiceComponent
extends Object

this class is used to activate and deactivate the UsageAgentServiceComponent, set and unset Serverconfigurarion, set and unset EventBrokerService.


Constructor Summary
UsageAgentServiceComponent()
           
 
Method Summary
protected  void activate(org.osgi.service.component.ComponentContext context)
          method to activate UsageAgentServiceComponent
protected  void deactivate(org.osgi.service.component.ComponentContext context)
          method to deactivate bundle
protected  void setConfigurationContextService(org.wso2.carbon.utils.ConfigurationContextService contextService)
          method to set ConfigurationContextService
protected  void setEventBrokerService(org.wso2.carbon.event.core.EventBroker registryEventBrokerService)
          method to set EventBrokerService
protected  void setRealmService(org.wso2.carbon.user.core.service.RealmService realmService)
          method to set RealmService
protected  void setServerConfiguration(org.wso2.carbon.base.api.ServerConfigurationService serverConfiguration)
          method to set server configurations
static void setSystemStatisticsUtil(org.wso2.carbon.statistics.services.SystemStatisticsUtil systemStatisticsUtil)
           
protected  void unsetConfigurationContextService(org.wso2.carbon.utils.ConfigurationContextService contextService)
          method to unset ConfigurationContextService
protected  void unsetEventBrokerService(org.wso2.carbon.event.core.EventBroker registryEventBrokerService)
          method to unset EventBrokerService
protected  void unsetRealmService(org.wso2.carbon.user.core.service.RealmService realmService)
          method to unsetRealmService
protected  void unsetServerConfiguration(org.wso2.carbon.base.api.ServerConfigurationService serverConfiguration)
          method to unset server configurations
static void unsetSystemStatisticsUtil(org.wso2.carbon.statistics.services.SystemStatisticsUtil systemStatisticsUtil)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UsageAgentServiceComponent

public UsageAgentServiceComponent()
Method Detail

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

public static void setSystemStatisticsUtil(org.wso2.carbon.statistics.services.SystemStatisticsUtil systemStatisticsUtil)

unsetSystemStatisticsUtil

public static void unsetSystemStatisticsUtil(org.wso2.carbon.statistics.services.SystemStatisticsUtil systemStatisticsUtil)


Copyright © 2015 WSO2. All rights reserved.