Example #1
0
 internal static void Publish()
 {
     lock (s_lockObject) {
         if (s_corbaInitService == null)
         {
             // create the init service, which provides access to other service (for JDK orbs)
             s_corbaInitService = new CORBAInitServiceImpl();
             RemotingServices.Marshal(s_corbaInitService,
                                      INITSERVICE_NAME);
         }
     }
 }
        internal static void Publish() {
            lock(s_lockObject) {
                if (s_corbaInitService == null) {

                    // create the init service, which provides access to other service (for JDK orbs)
                    s_corbaInitService = new CORBAInitServiceImpl();
                    RemotingServices.Marshal(s_corbaInitService, 
                                             INITSERVICE_NAME);
                }
            }
        }