Class 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void destroy()  
      protected java.lang.String getDomain()  
      protected com.codahale.metrics.MetricRegistry getMetricRegistry()  
      int getPhase()  
      boolean isAutoStartup()  
      protected boolean isEnabled()  
      boolean isRunning()  
      void setDomain​(java.lang.String domain)  
      void setEnabled​(boolean enabled)  
      void setMetricRegistry​(com.codahale.metrics.MetricRegistry metricRegistry)  
      void start()  
      void stop()  
      void stop​(java.lang.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 Detail

      • AbstractJmxReporterFactoryBean

        public AbstractJmxReporterFactoryBean()
    • Method Detail

      • 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 java.lang.Exception
        Specified by:
        destroy in interface org.springframework.beans.factory.DisposableBean
        Overrides:
        destroy in class org.springframework.beans.factory.config.AbstractFactoryBean<T>
        Throws:
        java.lang.Exception
      • isAutoStartup

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

        public void stop​(java.lang.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​(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()