/**
  * Returns the <tt>UIService</tt> obtained from the bundle context.
  *
  * @return the <tt>UIService</tt> obtained from the bundle context
  */
 private UIService getUIService() {
   if (uiService == null) {
     uiService =
         ServiceUtils.getService(ResourceManagementActivator.bundleContext, UIService.class);
   }
   return uiService;
 }
 /**
  * Returns a reference to a FileAccessService implementation currently registered in the bundle
  * context or null if no such implementation was found.
  *
  * @return a currently valid implementation of the FileAccessService .
  */
 public static FileAccessService getFileAccessService() {
   if (fileAccessService == null) {
     fileAccessService = ServiceUtils.getService(bundleContext, FileAccessService.class);
   }
   return fileAccessService;
 }
 /**
  * Returns a reference to the <tt>PacketLoggingService</tt> implementation currently registered in
  * the bundle context or null if no such implementation was found.
  *
  * @return a reference to a <tt>PacketLoggingService</tt> implementation currently registered in
  *     the bundle context or null if no such implementation was found.
  */
 public static PacketLoggingService getPacketLogging() {
   if (packetLoggingService == null) {
     packetLoggingService = ServiceUtils.getService(bundleContext, PacketLoggingService.class);
   }
   return packetLoggingService;
 }
 /**
  * Returns a reference to a ConfigurationService implementation currently registered in the bundle
  * context or null if no such implementation was found.
  *
  * @return a currently valid implementation of the ConfigurationService.
  */
 public static ConfigurationService getConfigurationService() {
   if (configurationService == null) {
     configurationService = ServiceUtils.getService(bundleContext, ConfigurationService.class);
   }
   return configurationService;
 }