View Javadoc

1   /*
2    * LoadableResource.java
3    *
4    * Created on January 28, 2000, 11:38 AM
5    */
6   package net.sf.navigator.util;
7   
8   import javax.servlet.ServletContext;
9   
10  
11  /**
12   * Defines the interface for a loadable web application resource.
13   *
14   * @author  Scott Sayles
15   * @version
16   */
17  public interface LoadableResource {
18      //~ Methods ================================================================
19  
20      public void setLoadParam(String loadParam);
21  
22      public String getLoadParam();
23  
24      public void setName(String name);
25  
26      public String getName();
27  
28      public void load() throws LoadableResourceException;
29  
30      public void reload() throws LoadableResourceException;
31  
32      public ServletContext getServletContext();
33  
34      public void setServletContext(ServletContext servletContext);
35  }