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
-
-
Constructor Summary
Constructors Constructor Description AbstractJmxReporterFactoryBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()protected java.lang.StringgetDomain()protected com.codahale.metrics.MetricRegistrygetMetricRegistry()intgetPhase()booleanisAutoStartup()protected booleanisEnabled()booleanisRunning()voidsetDomain(java.lang.String domain)voidsetEnabled(boolean enabled)voidsetMetricRegistry(com.codahale.metrics.MetricRegistry metricRegistry)voidstart()voidstop()voidstop(java.lang.Runnable runnable)
-
-
-
Method Detail
-
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
public void destroy() throws java.lang.Exception- Specified by:
destroyin interfaceorg.springframework.beans.factory.DisposableBean- Overrides:
destroyin classorg.springframework.beans.factory.config.AbstractFactoryBean<T>- Throws:
java.lang.Exception
-
isAutoStartup
public boolean isAutoStartup()
- Specified by:
isAutoStartupin interfaceorg.springframework.context.SmartLifecycle
-
stop
public void stop(java.lang.Runnable runnable)
- 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
public void setDomain(java.lang.String domain)
-
getDomain
protected java.lang.String getDomain()
-
setMetricRegistry
public void setMetricRegistry(com.codahale.metrics.MetricRegistry metricRegistry)
-
getMetricRegistry
protected com.codahale.metrics.MetricRegistry getMetricRegistry()
-
-