1 2 package org.jacorb.test.orb; 3 4 import org.omg.CORBA.*; 5 import org.omg.PortableInterceptor.*; 6 import org.omg.PortableInterceptor.ORBInitInfoPackage.DuplicateName ; 7 8 12 public class IIOPProfileORBInitializer 13 extends LocalObject 14 implements ORBInitializer 15 { 16 public void pre_init (ORBInitInfo info) 17 { 18 try 19 { 20 info.add_ior_interceptor (new IIOPProfileInterceptor()); 21 } 22 catch (DuplicateName ex) 23 { 24 throw new RuntimeException (ex.toString()); 25 } 26 } 27 28 public void post_init (ORBInitInfo info) 29 { 30 31 } 32 33 } 34 | Popular Tags |