Class StatisticsServiceComponent
java.lang.Object
org.wso2.carbon.bam.service.data.publisher.internal.StatisticsServiceComponent
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidactivate(org.osgi.service.component.ComponentContext context) protected voiddeactivate(org.osgi.service.component.ComponentContext context) static org.wso2.carbon.statistics.services.SystemStatisticsUtilstatic booleanprotected voidsetConfigurationContextService(org.wso2.carbon.utils.ConfigurationContextService configurationContextService) protected voidsetRegistryService(org.wso2.carbon.registry.core.service.RegistryService registryService) protected voidsetSystemStatisticsUtil(org.wso2.carbon.statistics.services.SystemStatisticsUtil systemStatisticsUtil) protected voidunsetConfigurationContextService(org.wso2.carbon.utils.ConfigurationContextService configurationContextService) protected voidunsetRegistryService(org.wso2.carbon.registry.core.service.RegistryService registryService) protected voidunsetSystemStatisticsUtil(org.wso2.carbon.statistics.services.SystemStatisticsUtil sysStatUtil)
-
Constructor Details
-
StatisticsServiceComponent
public StatisticsServiceComponent()
-
-
Method Details
-
activate
protected void activate(org.osgi.service.component.ComponentContext context) -
deactivate
protected void deactivate(org.osgi.service.component.ComponentContext context) throws org.wso2.carbon.databridge.agent.exception.DataEndpointException - Throws:
org.wso2.carbon.databridge.agent.exception.DataEndpointException
-
setSystemStatisticsUtil
protected void setSystemStatisticsUtil(org.wso2.carbon.statistics.services.SystemStatisticsUtil systemStatisticsUtil) -
getSystemStatisticsUtil
public static org.wso2.carbon.statistics.services.SystemStatisticsUtil getSystemStatisticsUtil() -
unsetSystemStatisticsUtil
protected void unsetSystemStatisticsUtil(org.wso2.carbon.statistics.services.SystemStatisticsUtil sysStatUtil) -
setConfigurationContextService
protected void setConfigurationContextService(org.wso2.carbon.utils.ConfigurationContextService configurationContextService) -
unsetConfigurationContextService
protected void unsetConfigurationContextService(org.wso2.carbon.utils.ConfigurationContextService configurationContextService) -
setRegistryService
protected void setRegistryService(org.wso2.carbon.registry.core.service.RegistryService registryService) -
unsetRegistryService
protected void unsetRegistryService(org.wso2.carbon.registry.core.service.RegistryService registryService) -
isPublishingEnabled
public static boolean isPublishingEnabled()
-