1 package org.jacorb.test.orb.etf; 2 3 22 23 import java.util.*; 24 25 import org.jacorb.orb.ProfileSelector; 26 import org.jacorb.orb.giop.ClientConnectionManager; 27 import org.omg.ETF.Profile; 28 29 36 public class WIOPSelector implements ProfileSelector 37 { 38 public Profile selectProfile (List profiles, ClientConnectionManager ccm) 39 { 40 for (Iterator i=profiles.iterator(); i.hasNext();) 41 { 42 Profile p = (Profile)i.next(); 43 if (p instanceof org.jacorb.test.orb.etf.wiop.WIOPProfile) 44 return p; 45 } 46 return null; 47 } 48 } 49 | Popular Tags |