From the code I can see there is a function inside Component registry which return registry by name . But how can I access that ?