*/
public ServiceManager createServiceManager( final Object entry )
throws Exception
{
final BlockMetaData metaData = getMetaDataFor( entry );
final DefaultServiceManager manager = new DefaultServiceManager();
final DependencyMetaData[] roles = metaData.getDependencies();
for( int i = 0; i < roles.length; i++ )
{
final DependencyMetaData role = roles[ i ];
final Object dependency = m_application.getBlock( role.getName() );
manager.put( role.getRole(), dependency );
}
return manager;
}