Package de.hybris.platform.metrics
Class AbstractJmxReporterFactoryBean<T>
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<T>
de.hybris.platform.metrics.AbstractJmxReporterFactoryBean<T>
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanClassLoaderAware,org.springframework.beans.factory.BeanFactoryAware,org.springframework.beans.factory.DisposableBean,org.springframework.beans.factory.FactoryBean<T>,org.springframework.beans.factory.InitializingBean,org.springframework.context.Lifecycle,org.springframework.context.Phased,org.springframework.context.SmartLifecycle
- Direct Known Subclasses:
DropwizardJmxReporterFactoryBean,JmxReporterFactoryBean
public abstract class AbstractJmxReporterFactoryBean<T>
extends org.springframework.beans.factory.config.AbstractFactoryBean<T>
implements org.springframework.context.SmartLifecycle
-
Field Summary
Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
loggerFields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTEFields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()protected Stringprotected com.codahale.metrics.MetricRegistryintgetPhase()booleanprotected booleanbooleanvoidvoidsetEnabled(boolean enabled) voidsetMetricRegistry(com.codahale.metrics.MetricRegistry metricRegistry) voidstart()voidstop()voidMethods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
afterPropertiesSet, createInstance, destroyInstance, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, getObjectType, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
-
Constructor Details
-
AbstractJmxReporterFactoryBean
public AbstractJmxReporterFactoryBean()
-
-
Method Details
-
start
public void start()- Specified by:
startin interfaceorg.springframework.context.Lifecycle
-
stop
public void stop()- Specified by:
stopin interfaceorg.springframework.context.Lifecycle
-
isRunning
public boolean isRunning()- Specified by:
isRunningin interfaceorg.springframework.context.Lifecycle
-
destroy
-
isAutoStartup
public boolean isAutoStartup()- Specified by:
isAutoStartupin interfaceorg.springframework.context.SmartLifecycle
-
stop
- Specified by:
stopin interfaceorg.springframework.context.SmartLifecycle
-
getPhase
public int getPhase()- Specified by:
getPhasein interfaceorg.springframework.context.Phased- Specified by:
getPhasein interfaceorg.springframework.context.SmartLifecycle
-
setEnabled
public void setEnabled(boolean enabled) -
isEnabled
protected boolean isEnabled() -
setDomain
-
getDomain
-
setMetricRegistry
public void setMetricRegistry(com.codahale.metrics.MetricRegistry metricRegistry) -
getMetricRegistry
protected com.codahale.metrics.MetricRegistry getMetricRegistry()
-