171172173174175176177178179180181
} ); } catch( Exception e ) { serviceInstance = null; throw new ServiceUnavailableException( "Could not activate service " + serviceModel.identity(), e ); } } } }
161162163164165166167168169170171
} ); } catch( Exception e ) { instance = null; throw new ServiceUnavailableException( "Could not activate service " + serviceModel.identity(), e ); } } } }
6061626364656667686970
if( service == null ) { wait( 5000 ); // Max wait 5 seconds. if( service == null ) { throw new ServiceUnavailableException( "The OSGi service is currently not available: " + typeToImport.getName() ); } } temporary = service; }