1 26 27 package org.objectweb.openccm.pss.runtime.common.lib; 28 29 30 39 40 public class Initializer 41 extends org.omg.CORBA.LocalObject 42 implements org.omg.PortableInterceptor.ORBInitializer 43 { 44 47 public void pre_init( org.omg.PortableInterceptor.ORBInitInfo info ) 48 { 49 } 51 52 55 public void post_init( org.omg.PortableInterceptor.ORBInitInfo info ) 56 { 57 try 58 { 59 org.omg.CosPersistentState.ConnectorRegistry pss = 60 new org.objectweb.openccm.pss.runtime.common.lib.ConnectorRegistry(); 61 info.register_initial_reference( "PSS", pss ); 62 } 63 catch ( org.omg.PortableInterceptor.ORBInitInfoPackage.InvalidName ex ) 64 { 65 System.err.println( "Initializer - Unable to resolve PersistentStateService" ); 66 } 67 } 68 } 69 | Popular Tags |