public abstract java.lang.String value
BeanCentercan use the non-empty name of the bean to locate it. The name of a bean can be duplicated.
public abstract java.lang.Class<?> types
BeanCentercan use them to locate the bean. By default, this attribute returns an empty array of classes which means that all the interfaces and types (including ancient types) of the bean are declared.