@Singleton @Requires(beans=BeansEndpoint.class) public class DefaultBeanDefinitionData extends Object implements BeanDefinitionData<Map<String,Object>>
BeanDefinitionData
implementation. Returns a Map
with
3 keys; "dependencies": A list of class names the bean depends on, "scope": The
scope of the bean Scope
, "type": The bean class name.Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getData(BeanDefinition<?> beanDefinition) |
protected List |
getDependencies(BeanDefinition<?> beanDefinition) |
protected String |
getScope(BeanDefinition<?> beanDefinition) |
protected String |
getType(BeanDefinition<?> beanDefinition) |
public Map<String,Object> getData(BeanDefinition<?> beanDefinition)
getData
in interface BeanDefinitionData<Map<String,Object>>
beanDefinition
- The bean definitionprotected List getDependencies(BeanDefinition<?> beanDefinition)
beanDefinition
- A bean definitionprotected String getScope(BeanDefinition<?> beanDefinition)
beanDefinition
- A bean definitionprotected String getType(BeanDefinition<?> beanDefinition)
beanDefinition
- A bean definition