Beispiel #1
0
 @Override
 protected void doStart() {
   bundleContext.addFrameworkListener(this);
   try {
     loadConfig();
   } catch (IOException e) {
     throw new RuntimeServiceException(e);
   }
   // load configuration if any
   loadComponents(bundleContext.getBundle(), context);
 }
 @Override
 protected void doStart() throws Exception {
   bundleContext.addFrameworkListener(this);
   loadConfig(); // load configuration if any
   loadComponents(bundleContext.getBundle(), context);
 }