1 26 27 package org.objectweb.openccm.corba; 28 29 36 37 public abstract class TheInterfaceRepository 38 { 39 45 48 private static org.omg.CORBA.ComponentIR.Repository repository_ = null; 49 50 56 59 private 60 TheInterfaceRepository() 61 { 62 } 63 64 70 76 81 public static org.omg.CORBA.ComponentIR.Repository 82 getRepository() 83 { 84 if(repository_ == null) 85 { 86 repository_ = org.omg.CORBA.ComponentIR.RepositoryHelper.narrow( 87 TheORB.resolve_initial_reference("InterfaceRepository")); 88 } 89 return repository_; 90 } 91 92 97 public static void 98 setRepository(org.omg.CORBA.ComponentIR.Repository repository) 99 { 100 repository_ = repository; 101 } 102 103 110 public static org.omg.CORBA.Contained 111 lookup_id(String id) 112 { 113 return getRepository().lookup_id(id); 114 } 115 } 116 | Popular Tags |