01 package gate.util.spring;
02
03 import org.springframework.core.io.Resource;
04
05 /**
06 * Holder class for a single {@link Resource} that points to a
07 * GATE plugin. {@link Init} scans for all beans in its defining
08 * BeanFactory that are instances of this class, and loads the
09 * plugins they point to after GATE has been initialized.
10 */
11 public class ExtraGatePlugin {
12 private Resource location;
13
14 public void setLocation(Resource location) {
15 this.location = location;
16 }
17
18 public Resource getLocation() {
19 return location;
20 }
21 }
|