I do not find in the documentation why the activiti bean registry registers beans by their class name instead of by id.
I think that it would help to know the reason to better understand how it works.
This solution seems less flexible because I cannot reuse the same class to define two different beans.