Project

General

Profile

« Previous | Next » 

Revision 7552

Added by Jing Tao about 11 years ago

The module will create a servlet class in a war file.

View differences:

ApplicationController.java
54 54
        init();
55 55
    }
56 56
    
57
    /**
58
     * Set the Spring configuration file.
59
     * @param springConfigFile  the path of the Spring configuration file
60
     */
61
    public ApplicationController(String springConfigFile) {
62
        this.springConfigFile = springConfigFile;
63
        init();
64
    }
65
    
57 66
    /*
58 67
     * Init the list of the SolrIndex objects from the configuration file.
59 68
     */
......
73 82
        return context;
74 83
    }
75 84

  
76
    /**
77
     * Set the Spring configuration file.
78
     * @param springConfigFile  the path of the Spring configuration file
79
     */
80
    public void setSpringConfigFile(String springConfigFile) {
81
        this.springConfigFile = springConfigFile;
82
    }
85
  
83 86
    
84 87
    /**
85 88
     * Get the path of the Spring configuration file.

Also available in: Unified diff