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

    logger

    Fields inherited from interface org.springframework.beans.factory.FactoryBean

    OBJECT_TYPE_ATTRIBUTE

    Fields inherited from interface org.springframework.context.SmartLifecycle

    DEFAULT_PHASE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    protected String
     
    protected com.codahale.metrics.MetricRegistry
     
    int
     
    boolean
     
    protected boolean
     
    boolean
     
    void
    setDomain(String domain)
     
    void
    setEnabled(boolean enabled)
     
    void
    setMetricRegistry(com.codahale.metrics.MetricRegistry metricRegistry)
     
    void
     
    void
     
    void
    stop(Runnable runnable)
     

    Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean

    afterPropertiesSet, createInstance, destroyInstance, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, getObjectType, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AbstractJmxReporterFactoryBean

      public AbstractJmxReporterFactoryBean()
  • Method Details

    • start

      public void start()
      Specified by:
      start in interface org.springframework.context.Lifecycle
    • stop

      public void stop()
      Specified by:
      stop in interface org.springframework.context.Lifecycle
    • isRunning

      public boolean isRunning()
      Specified by:
      isRunning in interface org.springframework.context.Lifecycle
    • destroy

      public void destroy() throws Exception
      Specified by:
      destroy in interface org.springframework.beans.factory.DisposableBean
      Overrides:
      destroy in class org.springframework.beans.factory.config.AbstractFactoryBean<T>
      Throws:
      Exception
    • isAutoStartup

      public boolean isAutoStartup()
      Specified by:
      isAutoStartup in interface org.springframework.context.SmartLifecycle
    • stop

      public void stop(Runnable runnable)
      Specified by:
      stop in interface org.springframework.context.SmartLifecycle
    • getPhase

      public int getPhase()
      Specified by:
      getPhase in interface org.springframework.context.Phased
      Specified by:
      getPhase in interface org.springframework.context.SmartLifecycle
    • setEnabled

      public void setEnabled(boolean enabled)
    • isEnabled

      protected boolean isEnabled()
    • setDomain

      public void setDomain(String domain)
    • getDomain

      protected String getDomain()
    • setMetricRegistry

      public void setMetricRegistry(com.codahale.metrics.MetricRegistry metricRegistry)
    • getMetricRegistry

      protected com.codahale.metrics.MetricRegistry getMetricRegistry()