KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > corba > se > spi > transport > CorbaContactInfoListFactory


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
8 package com.sun.corba.se.spi.transport ;
9
10 import com.sun.corba.se.spi.transport.CorbaContactInfoList ;
11
12 import com.sun.corba.se.spi.ior.IOR ;
13 import com.sun.corba.se.spi.orb.ORB;
14
15 /** Interface used to create a ContactInfoList from an IOR, as required
16  * for supporting CORBA semantics using the DCS framework. This is a
17  * natural correspondence since an IOR contains the information for
18  * contacting one or more communication endpoints that can be used to
19  * invoke a method on an object, along with the necessary information
20  * on particular transports, encodings, and protocols to use.
21  * Note that the actual implementation may support more than one
22  * IOR in the case of GIOP with Location Forward messages.
23  */

24 public interface CorbaContactInfoListFactory {
25     /**
26      * This will be called after the no-arg constructor before
27      * create is called.
28      */

29     public void setORB(ORB orb);
30
31     public CorbaContactInfoList create( IOR ior ) ;
32 }
33
Popular Tags