protected void initLST(){
  logger.fine("initializing Library Selection Table (LST)");
  try {
    if (lst == null) {
      if (libraryBeanName != null) {
        LibraryBean libraryBean=null;
        BeanContext beanContext=getBeanContext();
        if (beanContext == null) {
          return;
        }
        for (        Object obj : beanContext) {
          if (obj instanceof LibraryBean) {
            LibraryBean lb=(LibraryBean)obj;
            if (libraryBeanName.equals(lb.getName())) {
              if (logger.isLoggable(Level.FINE)) {
                logger.fine(getName() + ": setting library bean to " + lb.getName());
              }
              libraryBean=lb;
              break;
            }
          }
        }
        if (libraryBean != null) {
          lst=libraryBean.getLibrarySelectionTable();
          warehouse=libraryBean.getWarehouse();
          warehouse.setProperties(getPropertyPrefix(),props);
          searchByFeatures=true;
          box=null;
          logger.fine("VPFLayer.initLST(libraryBean)");
        }
 else {
          if (logger.isLoggable(Level.FINE)) {
            logger.fine("Couldn't find libraryBean " + libraryBeanName + " to read VPF data");
          }
        }
      }
 else {
        if (dataPaths == null) {
          logger.info("VPFLayer|" + getName() + ": path not set");
        }
 else {
          logger.fine("VPFLayer.initLST(dataPaths)");
          lst=new LibrarySelectionTable(dataPaths);
          lst.setCutoffScale(cutoffScale);
        }
      }
    }
  }
 catch (  com.bbn.openmap.io.FormatException f) {
    throw new java.lang.IllegalArgumentException(f.getMessage());
  }
}

protected void initLST ( ) { logger . fine ( "initializing Library Selection Table (LST)" ) ; try { if ( lst == null ) { if ( libraryBeanName != null ) { LibraryBean libraryBean = null ; BeanContext beanContext = getBeanContext ( ) ; if ( beanContext == null ) { return ; } for ( Object obj : beanContext ) { if ( obj instanceof LibraryBean ) { LibraryBean lb = ( LibraryBean ) obj ; if ( libraryBeanName . equals ( lb . getName ( ) ) ) { if ( logger . isLoggable ( Level . FINE ) ) { logger . fine ( getName ( ) + ": setting library bean to " + lb . getName ( ) ) ; } libraryBean = lb ; break ; } } } if ( libraryBean != null ) { lst = libraryBean . getLibrarySelectionTable ( ) ; warehouse = libraryBean . getWarehouse ( ) ; warehouse . setProperties ( getPropertyPrefix ( ) , props ) ; searchByFeatures = true ; box = null ; logger . fine ( "VPFLayer.initLST(libraryBean)" ) ; } else { if ( logger . isLoggable ( Level . FINE ) ) { logger . fine ( "Couldn't find libraryBean " + libraryBeanName + " to read VPF data" ) ; } } } else { if ( dataPaths == null ) { logger . info ( "VPFLayer|" + getName ( ) + ": path not set" ) ; } else { logger . fine ( "VPFLayer.initLST(dataPaths)" ) ; lst = new LibrarySelectionTable ( dataPaths ) ; lst . setCutoffScale ( cutoffScale ) ; } } } } catch ( com . bbn . openmap . io . FormatException f ) { throw new java . lang . IllegalArgumentException ( f . getMessage ( ) ) ; } }
initialize the library selection table .
