*/
public ComponentManager createComponentManager( final Object entry )
throws Exception
{
final BlockMetaData metaData = getMetaDataFor( entry );
final DefaultComponentManager componentManager = new DefaultComponentManager();
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() );
if( dependency instanceof Component )
{
componentManager.put( role.getRole(), (Component)dependency );
}
else
{
final String message =
REZ.getString( "lifecycle.nota-component.error",