Class DefaultBeanDefinitionDataCollector
java.lang.Object
io.micronaut.management.endpoint.beans.impl.DefaultBeanDefinitionDataCollector
- All Implemented Interfaces:
BeanDefinitionDataCollector<Map<String,
Object>>
@Singleton
@Requires(beans=BeansEndpoint.class)
public class DefaultBeanDefinitionDataCollector
extends Object
implements BeanDefinitionDataCollector<Map<String,Object>>
The default
BeanDefinitionDataCollector
implementation. Returns a Map
with
a single key, "beans" that has a key of the bean definition class name.- Since:
- 1.0
- Author:
- James Kleeh
-
Method Summary
-
Method Details
-
getData
- Specified by:
getData
in interfaceBeanDefinitionDataCollector<Map<String,
Object>> - Returns:
- The raw data representing information about the available beans; the given bean definitions
-
getBeans
- Parameters:
definitions
- The bean definitions- Returns:
- A map of bean information.
-
getDisabledBeans
- Returns:
- Information about the disabled beans.
-