return definition;
}
private void hydrateNewBeans() {
DependencyInstantiationOrdering ordering = new DependencyInstantiationOrdering(this.registeredTypes);
List<BeanDefinition> dependencyChain = ordering.sort();
Visitors.constructorArgsInstantiator(this).visitAll(dependencyChain);
for(BeanDefinition definition: context.values()) {
if(Lifecycle.class.isAssignableFrom(definition.getType())) {
Lifecycle lifecycle = (Lifecycle) definition.getPayload();