|
Currently, the bean scanner creates configuration entries with the following structure:
+component (name=ServiceName)
| -implementation.java |
| -service (name=ServiceName) |
| +references |
|
|
By default, the tooling creates bean components with a name: ServiceNameBean. I think it would be more interesting if the name for the component were the name of the class implementing the service. This would be more consistent with the configuration generated by the tools (which use the class name for the component name).
This will improve interoperability with some forthcoming tooling changes that allow the editor to view generated content. Without this change, the user will end up with two different components when adding a bean service through the tooling.
|