Class MetricsRegistryFactoryBean

java.lang.Object
org.frankframework.metrics.MetricsRegistryFactoryBean
All Implemented Interfaces:
org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean<io.micrometer.core.instrument.MeterRegistry>, org.springframework.beans.factory.InitializingBean

public class MetricsRegistryFactoryBean extends Object implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean<io.micrometer.core.instrument.MeterRegistry>
Singleton bean that keeps track of a Spring Application's uptime.
  • Constructor Details

    • MetricsRegistryFactoryBean

      public MetricsRegistryFactoryBean()
  • Method Details

    • afterPropertiesSet

      public void afterPropertiesSet() throws Exception
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      Throws:
      Exception
    • getObject

      public io.micrometer.core.instrument.MeterRegistry getObject()
      Specified by:
      getObject in interface org.springframework.beans.factory.FactoryBean<io.micrometer.core.instrument.MeterRegistry>
    • getObjectType

      public Class<? extends io.micrometer.core.instrument.MeterRegistry> getObjectType()
      Specified by:
      getObjectType in interface org.springframework.beans.factory.FactoryBean<io.micrometer.core.instrument.MeterRegistry>
    • isSingleton

      public boolean isSingleton()
      Specified by:
      isSingleton in interface org.springframework.beans.factory.FactoryBean<io.micrometer.core.instrument.MeterRegistry>
    • destroy

      public void destroy() throws Exception
      Specified by:
      destroy in interface org.springframework.beans.factory.DisposableBean
      Throws:
      Exception