1. /*
  2. * @(#)CorbaContactInfoListFactory.java 1.8 03/12/19
  3. *
  4. * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package com.sun.corba.se.spi.transport ;
  8. import com.sun.corba.se.spi.transport.CorbaContactInfoList ;
  9. import com.sun.corba.se.spi.ior.IOR ;
  10. import com.sun.corba.se.spi.orb.ORB;
  11. /** Interface used to create a ContactInfoList from an IOR, as required
  12. * for supporting CORBA semantics using the DCS framework. This is a
  13. * natural correspondence since an IOR contains the information for
  14. * contacting one or more communication endpoints that can be used to
  15. * invoke a method on an object, along with the necessary information
  16. * on particular transports, encodings, and protocols to use.
  17. * Note that the actual implementation may support more than one
  18. * IOR in the case of GIOP with Location Forward messages.
  19. */
  20. public interface CorbaContactInfoListFactory {
  21. /**
  22. * This will be called after the no-arg constructor before
  23. * create is called.
  24. */
  25. public void setORB(ORB orb);
  26. public CorbaContactInfoList create( IOR ior ) ;
  27. }