@Singleton @Requires(beans=BeansEndpoint.class) public class DefaultBeanDefinitionData extends java.lang.Object implements BeanDefinitionData<java.util.Map<java.lang.String,java.lang.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 |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getData(BeanDefinition<?> beanDefinition) |
protected java.util.List |
getDependencies(BeanDefinition<?> beanDefinition) |
protected java.lang.String |
getScope(BeanDefinition<?> beanDefinition) |
protected java.lang.String |
getType(BeanDefinition<?> beanDefinition) |
public java.util.Map<java.lang.String,java.lang.Object> getData(BeanDefinition<?> beanDefinition)
getData
in interface BeanDefinitionData<java.util.Map<java.lang.String,java.lang.Object>>
beanDefinition
- The bean definitionprotected java.util.List getDependencies(BeanDefinition<?> beanDefinition)
beanDefinition
- A bean definitionprotected java.lang.String getScope(BeanDefinition<?> beanDefinition)
beanDefinition
- A bean definitionprotected java.lang.String getType(BeanDefinition<?> beanDefinition)
beanDefinition
- A bean definition