@Bean(name="counter-data-logger", parent=StatisticsCollector.class, active=false) public class CounterDataLogger extends Object implements StatisticsArchivizerIfc, ConfigurationChangedAware, Initializable, RegistrarBean
| Modifier and Type | Field and Description |
|---|---|
protected static String |
defaultHostname |
| Constructor and Description |
|---|
CounterDataLogger() |
| Modifier and Type | Method and Description |
|---|---|
void |
beanConfigurationChanged(Collection<String> changedFields)
Method called when configuration was applied to bean.
|
void |
execute(StatisticsProvider sp) |
long |
getFrequency() |
void |
initialize()
Method will be called, when bean will be created, configured and ready to use.
|
void |
register(Kernel kernel)
Method called when bean is being registered allowing developer to programatically register other beans.
|
void |
release() |
void |
unregister(Kernel kernel)
Method called while bean is being unregistered.
|
protected static String defaultHostname
public void beanConfigurationChanged(Collection<String> changedFields)
ConfigurationChangedAwarebeanConfigurationChanged in interface ConfigurationChangedAwarechangedFields - collection of field names which were changedpublic void execute(StatisticsProvider sp)
execute in interface StatisticsArchivizerIfcpublic long getFrequency()
getFrequency in interface StatisticsArchivizerIfcpublic void initialize()
Initializableinitialize in interface Initializablepublic void register(Kernel kernel)
RegistrarBeanregister in interface RegistrarBeankernel - - instance from local scopepublic void unregister(Kernel kernel)
RegistrarBeanunregister in interface RegistrarBeankernel - - instance from local scopepublic void release()
release in interface StatisticsArchivizerIfcCopyright © 2004–2020 "Tigase, Inc.". All rights reserved.