org.spicefactory.cinnamon.web
Class CinnamonServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.spicefactory.cinnamon.web.AbstractCinnamonServlet
org.spicefactory.cinnamon.web.CinnamonServlet
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig
Deprecated.
@Deprecated
public class CinnamonServlet
- extends AbstractCinnamonServlet
Deprecated Servlet implementation for processing HTTP based AMF3 requests.
This Servlet implementation is deprectated since it introduces dependencies to both Spring and
XOM although only one of them is needed depending on which configuration style you use.
You should use SpringCinnamonServlet when using Spring and XmlCinnamonServlet
when using Cinnamon's custom XML configuration format.
The Servlet is just a very thin layer on top of the Cinnamon framework, so most parts of the framework
(except for the web package) do not depend on the Servlet API or HTTP protocol. This decoupling may be
useful for testing or unusual deployment scenarios.
- Author:
- Jens Halm
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CinnamonServlet
public CinnamonServlet()
- Deprecated.
createConfigurationBuilder
protected ConfigurationBuilder createConfigurationBuilder(ServletConfig config)
- Deprecated.
- Description copied from class:
AbstractCinnamonServlet
- Creates the ConfigurationBuilder implementation this Servlet should use.
There are two builtin implementation: SpringConfigurationBuilder which
uses a Spring WebApplicationContext for configuration and
XmlConfigurationParser which processes Cinnamon's own custom XML
configuration format.
- Specified by:
createConfigurationBuilder in class AbstractCinnamonServlet
- Parameters:
config - the ServletConfig for this servlet
- Returns:
- the ConfigurationBuilder implementation this Servlet should use