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