39 #if !defined(GAUDI_V22_API)|| defined(G22_NEW_SVCLOCATOR)
43 virtual StatusCode getService(
const Gaudi::Utils::TypeNameString& typeName,
45 const bool createIf =
true);
67 if ( !s_appmgrInstance.
isValid() ) {
71 return s_appmgrInstance.
get();
114 if( !s_svclocInstance.
isValid() ) {
117 s_svclocInstance = iappmgr;
118 if( s_svclocInstance.
isValid() ) {
141 s_svclocInstance = newInstance;
151 s_appmgrInstance = newInstance;
174 ii = ObjFactory::create(factname, (
IInterface*)0);
176 is = Service::Factory::create(factname, name, (
ISvcLocator*)0);
178 ia = Algorithm::Factory::create(factname, name, (
ISvcLocator*)0);
205 ShadowEntry(
const ShadowEntry& copy) {
206 dllName = copy.dllName;
207 facName = copy.facName;
233 using Gaudi::BootSvcLocator;
235 BootSvcLocator::BootSvcLocator() {
237 BootSvcLocator::~BootSvcLocator() {
240 #if !defined(GAUDI_V22_API) || defined(G22_NEW_SVCLOCATOR)
245 if ( s_appmgrInstance.
isValid() ) {
246 sc = s_svclocInstance->getService(typeName, iid, pinterface );
248 pinterface = s_bootInterface.
get();
254 const bool createIf ) {
256 if ( s_appmgrInstance.
isValid() ) {
257 sc = s_svclocInstance->getService(typeName, svc, createIf );
259 svc = s_bootService.
get();
267 if ( s_appmgrInstance.
isValid() ) {
268 return s_svclocInstance->getServices( );
275 if ( s_appmgrInstance.
isValid() ) {
276 result = s_svclocInstance->existsService(name);
283 if ( s_appmgrInstance.
isValid() ) {
284 return s_svclocInstance->service(typeName, createIf);