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
-
Method Summary
-
Constructor Details
-
MetricsRegistryFactoryBean
public MetricsRegistryFactoryBean()
-
-
Method Details
-
afterPropertiesSet
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Throws:
Exception
-
getObject
public io.micrometer.core.instrument.MeterRegistry getObject()- Specified by:
getObject
in interfaceorg.springframework.beans.factory.FactoryBean<io.micrometer.core.instrument.MeterRegistry>
-
getObjectType
- Specified by:
getObjectType
in interfaceorg.springframework.beans.factory.FactoryBean<io.micrometer.core.instrument.MeterRegistry>
-
isSingleton
public boolean isSingleton()- Specified by:
isSingleton
in interfaceorg.springframework.beans.factory.FactoryBean<io.micrometer.core.instrument.MeterRegistry>
-
destroy
- Specified by:
destroy
in interfaceorg.springframework.beans.factory.DisposableBean
- Throws:
Exception
-