@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)
ConfigurationChangedAware
beanConfigurationChanged
in interface ConfigurationChangedAware
changedFields
- collection of field names which were changedpublic void execute(StatisticsProvider sp)
execute
in interface StatisticsArchivizerIfc
public long getFrequency()
getFrequency
in interface StatisticsArchivizerIfc
public void initialize()
Initializable
initialize
in interface Initializable
public void register(Kernel kernel)
RegistrarBean
register
in interface RegistrarBean
kernel
- - instance from local scopepublic void unregister(Kernel kernel)
RegistrarBean
unregister
in interface RegistrarBean
kernel
- - instance from local scopepublic void release()
release
in interface StatisticsArchivizerIfc
Copyright © 2004–2021 "Tigase, Inc.". All rights reserved.