final ComponentTemplate[] listeners )
{
final ArrayList listenerSet = new ArrayList();
for( int i = 0; i < listeners.length; i++ )
{
final BlockListenerMetaData listener =
new BlockListenerMetaData( listeners[ i ].getName(),
listeners[ i ].getImplementationKey() );
listenerSet.add( listener );
}
return (BlockListenerMetaData[])listenerSet.toArray(
new BlockListenerMetaData[ listenerSet.size() ] );