Ejemplo n.º 1
0
 /**
  * Returns the <tt>ResourceManagementService</tt> obtained from the bundle context.
  *
  * @return the <tt>ResourceManagementService</tt> obtained from the bundle context
  */
 public static ResourceManagementService getResources() {
   if (resourcesService == null)
     resourcesService = ResourceManagementServiceUtils.getService(bundleContext);
   return resourcesService;
 }
 /**
  * Gets the <tt>ResourceManagementService</tt> instance which represents the resources such as
  * internationalized and localized text and images used by the neomedia bundle.
  *
  * @return the <tt>ResourceManagementService</tt> instance which represents the resources such as
  *     internationalized and localized text and images used by the neomedia bundle
  */
 public static ResourceManagementService getResources() {
   if (resources == null) {
     resources = ResourceManagementServiceUtils.getService(bundleContext);
   }
   return resources;
 }