Changeset 30834


Ignore:
Timestamp:
2016-09-22T12:00:58+12:00 (5 years ago)
Author:
kjdon
Message:

CollectionClassLoader changed to CustomClassLoader

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/service/ServiceRack.java

    r30667 r30834  
    2727import org.greenstone.gsdl3.core.MessageRouter;
    2828import org.greenstone.gsdl3.core.ModuleInterface;
    29 import org.greenstone.gsdl3.util.CollectionClassLoader;
     29import org.greenstone.gsdl3.util.CustomClassLoader;
    3030import org.greenstone.gsdl3.util.Dictionary;
     31import org.greenstone.gsdl3.util.GSFile;
    3132import org.greenstone.gsdl3.util.GSPath;
    3233import org.greenstone.gsdl3.util.GSXML;
     
    100101     * put properties files, dtds etc in here
    101102     */
    102     CollectionClassLoader class_loader = null;
     103    CustomClassLoader class_loader = null;
    103104
    104105    /** sets the cluster name */
     
    185186    {
    186187        // set up the class loader
    187         this.class_loader = new CollectionClassLoader(this.getClass().getClassLoader(), this.site_home, this.cluster_name);
     188      // this needs modifying if we ever have serviceracks at siteconfig level that want to use class loader
     189      this.class_loader = new CustomClassLoader(this.getClass().getClassLoader(), GSFile.collectionResourceDir(this.site_home, this.cluster_name));
    188190        return true;
    189191    }
Note: See TracChangeset for help on using the changeset viewer.