int count = 0 ;
Iterator iter = iteratorById( id ) ;
while (iter.hasNext()) {
iter.next() ;
count++ ;
}
org.omg.IOP.TaggedComponent[] result = new
org.omg.IOP.TaggedComponent[count] ;
int index = 0 ;
iter = iteratorById( id ) ;
while (iter.hasNext()) {
TaggedComponent comp = (TaggedComponent)(iter.next()) ;
result[index++] = comp.getIOPComponent( orb ) ;
}
return result ;