org.jacorb.orb
Class DefaultProfileSelector

java.lang.Object
  extended by org.jacorb.orb.DefaultProfileSelector
All Implemented Interfaces:
ProfileSelector

public class DefaultProfileSelector
extends java.lang.Object
implements ProfileSelector

When the client connects to the server, an instance of this class selects one of potentially many profiles in the IOR that the server published. This class is the default ProfileSelector in JacORB, it always selects the first profile in the list, no matter what.

Version:
$Id: DefaultProfileSelector.java,v 1.6 2007-02-14 08:17:37 andre.spiegel Exp $
Author:
Andre Spiegel spiegel@gnu.org

Constructor Summary
DefaultProfileSelector()
           
 
Method Summary
 Profile selectProfile(java.util.List profiles, ClientConnectionManager ccm)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultProfileSelector

public DefaultProfileSelector()
Method Detail

selectProfile

public Profile selectProfile(java.util.List profiles,
                             ClientConnectionManager ccm)
Specified by:
selectProfile in interface ProfileSelector
See Also:
ProfileSelector.selectProfile(java.util.List, org.jacorb.orb.giop.ClientConnectionManager)