BeanMetaData metaData = context.getBeanMetaData();
BeanInfo info = configurator.getBeanInfo(metaData);
context.setBeanInfo(info);
// add custom dependencies (e.g. AOP layer).
DependencyInfo depends = context.getDependencyInfo();
List dependencies = info.getDependencies();
if (dependencies != null)
{
Iterator it = dependencies.iterator();
while (it.hasNext())
{
AbstractDependencyItem dependency = new AbstractDependencyItem(metaData.getName(), it.next(), ControllerState.INSTANTIATED, ControllerState.INSTALLED);
depends.addIDependOn(dependency);
}
}
}