code: public void loadFromPropertyFile() throws IOException {
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              SibTr.entry(tc, "loadFromPropertyFile()");
  
          String key        = null;
          Properties config = new Properties();
          InputStream is    = this.getClass().getResourceAsStream(PROPERTY_FILE);
  
          if (is == null) {
              throw new IOException("Resource " + PROPERTY_FILE + " not found in current classloader");
          }
  
          config.load(is);
  
          Enumeration vEnum = config.propertyNames();
  
          while (vEnum.hasMoreElements())
          {
              key = (String) vEnum.nextElement();
  
              if (key.equals("datasourceClassname"))
                  datasourceClassname = config.getProperty(key);
              else if (key.equals("username"))
                  datasourceUsername  = config.getProperty(key);
              else if (key.equals("password"))
                  datasourcePassword  = config.getProperty(key);
              else if (key.equals("schemaname"))
                  schemaName = config.getProperty(key);
              else if (key.equals("poolSize"))
                  numberOfPooledConnections = Integer.parseInt(config.getProperty(key));
              else if (key.equals("verbose"))
                  verbose = Boolean.valueOf(config.getProperty(key)).booleanValue();
              else
                  datasourceProperties.setProperty(key, config.getProperty(key));
          }
  
          if (datasourceClassname == null)
              throw new IllegalStateException("The properties file must specify datasourceClassname");
  
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              SibTr.exit(tc, "loadFromPropertyFile()");
      }
docs: Loads defaults from {@link #PROPERTY_FILE}. This method should only be
  called outside of WAS therefore no nls support should be required
  
  @throws IOException