test_class.file: system-properties/src/test/java/com/abiquo/mbeans/SystemPropertiesServiceTest.java
test_class.identifier: SystemPropertiesServiceTest
test_case.body: @Test
      public void doesNotLoadSystemFileUnlessExist()
      {
          System.setProperty("abiquo.config.path", "/tmp/foooooo");
          new SystemPropertiesService().load();
  
          String abiquoVersion = System.getProperty("abiquo.version");
          assertNotNull(abiquoVersion);
      }
test_case.class_method_signature: SystemPropertiesServiceTest.doesNotLoadSystemFileUnlessExist()
test_case.full_signature: @Test public void doesNotLoadSystemFileUnlessExist()
test_case.identifier: doesNotLoadSystemFileUnlessExist
test_case.invocations: setProperty load getProperty assertNotNull
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void doesNotLoadSystemFileUnlessExist()
focal_class.declarator: ABIQUO_ROOT = "/opt/abiquo/config"
focal_class.modifier: private static final
focal_class.original_string: private static final String ABIQUO_ROOT = "/opt/abiquo/config";
focal_class.type: String
focal_class.var_name: ABIQUO_ROOT
focal_class.declarator: ABIQUO_PROPERTIES_FILE = "abiquo.properties"
focal_class.modifier: private static final
focal_class.original_string: private static final String ABIQUO_PROPERTIES_FILE = "abiquo.properties";
focal_class.type: String
focal_class.var_name: ABIQUO_PROPERTIES_FILE
focal_class.declarator: ABIQUO_CONFIG_PATH = ABIQUO_ROOT + "/" + ABIQUO_PROPERTIES_FILE
focal_class.modifier: private static final
focal_class.original_string: private static final String ABIQUO_CONFIG_PATH = ABIQUO_ROOT + "/" + ABIQUO_PROPERTIES_FILE;
focal_class.type: String
focal_class.var_name: ABIQUO_CONFIG_PATH
focal_class.declarator: configPath = System.getProperty("abiquo.config.path", ABIQUO_CONFIG_PATH)
focal_class.modifier: private
focal_class.original_string: private String configPath = System.getProperty("abiquo.config.path", ABIQUO_CONFIG_PATH);
focal_class.type: String
focal_class.var_name: configPath
focal_class.file: system-properties/src/main/java/com/abiquo/mbeans/SystemPropertiesService.java
focal_class.identifier: SystemPropertiesService
focal_class.interfaces: implements SystemPropertiesServiceMBean
focal_class.class_method_signature: SystemPropertiesService.SystemPropertiesService()
focal_class.full_signature: public  SystemPropertiesService()
focal_class.identifier: SystemPropertiesService
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  SystemPropertiesService()
focal_class.class_method_signature: SystemPropertiesService.getConfigPath()
focal_class.full_signature: public String getConfigPath()
focal_class.identifier: getConfigPath
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getConfigPath()
focal_class.class_method_signature: SystemPropertiesService.getSystemProperty(String name)
focal_class.full_signature: @Override public String getSystemProperty(String name)
focal_class.identifier: getSystemProperty
focal_class.modifiers: @Override public
focal_class.parameters: (String name)
focal_class.return: String
focal_class.signature: String getSystemProperty(String name)
focal_class.class_method_signature: SystemPropertiesService.getSystemProperties()
focal_class.full_signature: @Override public Properties getSystemProperties()
focal_class.identifier: getSystemProperties
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Properties
focal_class.signature: Properties getSystemProperties()
focal_class.class_method_signature: SystemPropertiesService.load()
focal_class.full_signature: public SystemPropertiesService load()
focal_class.identifier: load
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: SystemPropertiesService
focal_class.signature: SystemPropertiesService load()
focal_class.class_method_signature: SystemPropertiesService.load(final String path)
focal_class.full_signature: private void load(final String path)
focal_class.identifier: load
focal_class.modifiers: private
focal_class.parameters: (final String path)
focal_class.return: void
focal_class.signature: void load(final String path)
focal_class.class_method_signature: SystemPropertiesService.load(InputStream is)
focal_class.full_signature: private Properties load(InputStream is)
focal_class.identifier: load
focal_class.modifiers: private
focal_class.parameters: (InputStream is)
focal_class.return: Properties
focal_class.signature: Properties load(InputStream is)
focal_class.class_method_signature: SystemPropertiesService.load(InputStream is, Properties props)
focal_class.full_signature: private Properties load(InputStream is, Properties props)
focal_class.identifier: load
focal_class.modifiers: private
focal_class.parameters: (InputStream is, Properties props)
focal_class.return: Properties
focal_class.signature: Properties load(InputStream is, Properties props)
focal_class.class_method_signature: SystemPropertiesService.getServer()
focal_class.full_signature: private MBeanServer getServer()
focal_class.identifier: getServer
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: MBeanServer
focal_class.signature: MBeanServer getServer()
focal_class.class_method_signature: SystemPropertiesService.toURL(String urlspec, final String relativePrefix)
focal_class.full_signature: private URL toURL(String urlspec, final String relativePrefix)
focal_class.identifier: toURL
focal_class.modifiers: private
focal_class.parameters: (String urlspec, final String relativePrefix)
focal_class.return: URL
focal_class.signature: URL toURL(String urlspec, final String relativePrefix)
focal_class.class_method_signature: SystemPropertiesService.makeURLFromFilespec(final String filespec, final String relativePrefix)
focal_class.full_signature: private static URL makeURLFromFilespec(final String filespec, final String relativePrefix)
focal_class.identifier: makeURLFromFilespec
focal_class.modifiers: private static
focal_class.parameters: (final String filespec, final String relativePrefix)
focal_class.return: URL
focal_class.signature: URL makeURLFromFilespec(final String filespec, final String relativePrefix)
focal_method.body: public SystemPropertiesService load()
      {
          try
          {
              load(configPath);
          }
          catch (IOException e)
          {
              e.printStackTrace();
          }
          return this;
      }
focal_method.class_method_signature: SystemPropertiesService.load()
focal_method.full_signature: public SystemPropertiesService load()
focal_method.identifier: load
focal_method.invocations: load printStackTrace
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: SystemPropertiesService
focal_method.signature: SystemPropertiesService load()