01: /*
02: * Created on May 16, 2006
03: */
04: package com.openedit;
05:
06: import java.io.File;
07: import java.io.IOException;
08: import java.util.List;
09:
10: import org.springframework.beans.factory.config.ConfigurableListableBeanFactory;
11:
12: import com.openedit.page.manage.PageManager;
13: import com.openedit.servlet.OpenEditEngine;
14: import com.openedit.users.UserManager;
15:
16: /**
17: * <p>
18: * This interface contains the core parts of an OpenEdit website. In most cases
19: * the default implementation {@link com.openedit.BaseWebServer} will be
20: * sufficient. If for any reason you need to customize it to suit your needs you
21: * can write a custom implementation that implements this interface (e.g. if you
22: * wanted to use a Spring WebApplicationContext rather than just a BeanFactory).
23: * </p>
24: * <p>
25: * The implementation of this interface is responsible for loading the Spring
26: * beans as defined in the openedit.xml and any applicable plugin.xml or
27: * pluginoverrides.xml files for extending functionality from the core of
28: * OpenEdit.
29: * </p>
30: *
31: * @author Eric Broyles <eric@sandra.com>
32: * @version $Id: WebServer.java,v 1.19 2007/12/20 02:05:02 cburkey Exp $
33: */
34: public interface WebServer {
35: public ConfigurableListableBeanFactory getBeanFactory();
36:
37: public PageManager getPageManager();
38:
39: public UserManager getUserManager();
40:
41: public ModuleManager getModuleManager();
42:
43: public OpenEditEngine getOpenEditEngine();
44:
45: public File getRootDirectory();
46:
47: public void setRootDirectory(File inFile);
48:
49: public List listPlugIns() throws IOException;
50:
51: }
|