1 package org.jacorb.orb; 2 3 4 23 24 import java.util.*; 25 import org.omg.ETF.Profile; 26 import org.jacorb.orb.giop.ClientConnectionManager; 27 28 32 public class DefaultProfileSelector implements ProfileSelector 33 { 34 35 public Profile selectProfile (List profiles, ClientConnectionManager ccm) 36 { 37 if (profiles.size() > 0) 38 return (Profile)profiles.get(0); 39 else 40 return null; 41 } 42 43 } 44 | Popular Tags |