/[classpath]/classpath/gnu/CORBA/NamingService/NamingServiceTransient.java
ViewVC logotype

Diff of /classpath/gnu/CORBA/NamingService/NamingServiceTransient.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.7 by audriusa, Sun Oct 2 19:58:00 2005 UTC revision 1.8 by audriusa, Fri Oct 28 12:04:39 2005 UTC
# Line 38  exception statement from your version. * Line 38  exception statement from your version. *
38    
39  package gnu.CORBA.NamingService;  package gnu.CORBA.NamingService;
40    
41  import gnu.CORBA.Functional_ORB;  import gnu.CORBA.OrbFunctional;
42  import gnu.CORBA.IOR;  import gnu.CORBA.IOR;
43    
44  import org.omg.CosNaming.NamingContextExt;  import org.omg.CosNaming.NamingContextExt;
# Line 102  public class NamingServiceTransient Line 102  public class NamingServiceTransient
102      try      try
103        {        {
104          // Create and initialize the ORB          // Create and initialize the ORB
105          final Functional_ORB orb = new Functional_ORB();          final OrbFunctional orb = new OrbFunctional();
106    
107          if (args.length > 1)          if (args.length > 1)
108            for (int i = 0; i < args.length - 1; i++)            for (int i = 0; i < args.length - 1; i++)
# Line 114  public class NamingServiceTransient Line 114  public class NamingServiceTransient
114                  iorf = args[i + 1];                  iorf = args[i + 1];
115              }              }
116    
117          Functional_ORB.setPort(port);          OrbFunctional.setPort(port);
118    
119          // Create the servant and register it with the ORB          // Create the servant and register it with the ORB
120          NamingContextExt namer = new Ext(new TransientContext());          NamingContextExt namer = new Ext(new TransientContext());
# Line 159  public class NamingServiceTransient Line 159  public class NamingServiceTransient
159    
160      // Restore the default value for allocating ports for the subsequent      // Restore the default value for allocating ports for the subsequent
161      // objects.      // objects.
162      Functional_ORB.setPort(Functional_ORB.DEFAULT_INITIAL_PORT);      OrbFunctional.setPort(OrbFunctional.DEFAULT_INITIAL_PORT);
163    }    }
164  }  }

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26