@Singleton @Requires(beans=BeansEndpoint.class) public class DefaultBeanDefinitionDataCollector extends Object implements BeanDefinitionDataCollector<Map<String,Object>>
BeanDefinitionDataCollector
implementation. Returns a Map
with
a single key, "beans" that has a key of the bean definition class name.Modifier and Type | Method and Description |
---|---|
protected Publisher<Map<String,Object>> |
getBeans(Collection<BeanDefinition<?>> definitions) |
Publisher<Map<String,Object>> |
getData(Collection<BeanDefinition<?>> beanDefinitions) |
public Publisher<Map<String,Object>> getData(Collection<BeanDefinition<?>> beanDefinitions)
getData
in interface BeanDefinitionDataCollector<Map<String,Object>>
beanDefinitions
- A collection of bean definitionsprotected Publisher<Map<String,Object>> getBeans(Collection<BeanDefinition<?>> definitions)
definitions
- The bean definitionsPublisher
that wraps a Map