Package org.frankframework.metrics
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.
-
Field Summary
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MetricsRegistryFactoryBean
public MetricsRegistryFactoryBean()
-
-
Method Details
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
getObject
public io.micrometer.core.instrument.MeterRegistry getObject()- Specified by:
getObjectin interfaceorg.springframework.beans.factory.FactoryBean<io.micrometer.core.instrument.MeterRegistry>
-
getObjectType
- Specified by:
getObjectTypein interfaceorg.springframework.beans.factory.FactoryBean<io.micrometer.core.instrument.MeterRegistry>
-
isSingleton
public boolean isSingleton()- Specified by:
isSingletonin interfaceorg.springframework.beans.factory.FactoryBean<io.micrometer.core.instrument.MeterRegistry>
-
destroy
- Specified by:
destroyin interfaceorg.springframework.beans.factory.DisposableBean- Throws:
Exception
-