|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.GenericServlet javax.servlet.http.HttpServlet org.blojsom.servlet.BlojsomBaseServlet
BlojsomBaseServlet
Field Summary | |
protected java.lang.String |
_baseConfigurationDirectory
|
protected BlojsomConfiguration |
_blojsomConfiguration
|
protected BlojsomFetcher |
_fetcher
|
protected javax.servlet.ServletConfig |
_servletConfig
|
Constructor Summary | |
BlojsomBaseServlet()
|
Method Summary | |
protected void |
configureBlojsom(javax.servlet.ServletConfig servletConfig)
Configure the global configuration information and initialize the users for this blog |
protected void |
configureFetcher(javax.servlet.ServletConfig servletConfig,
BlojsomConfiguration blojsomConfiguration)
Configure the BlojsomFetcher that will be used to fetch categories and
entries |
void |
init(javax.servlet.ServletConfig servletConfig)
Servlet initialization |
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service |
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.lang.String _baseConfigurationDirectory
protected BlojsomFetcher _fetcher
protected BlojsomConfiguration _blojsomConfiguration
protected javax.servlet.ServletConfig _servletConfig
Constructor Detail |
public BlojsomBaseServlet()
Method Detail |
public void init(javax.servlet.ServletConfig servletConfig) throws javax.servlet.ServletException
init
in interface javax.servlet.Servlet
servletConfig
- ServletConfig
javax.servlet.ServletException
- If there is an error during initializationprotected void configureFetcher(javax.servlet.ServletConfig servletConfig, BlojsomConfiguration blojsomConfiguration) throws javax.servlet.ServletException
BlojsomFetcher
that will be used to fetch categories and
entries
servletConfig
- Servlet configuration informationblojsomConfiguration
- blojsom properties
javax.servlet.ServletException
- If the BlojsomFetcher
class could not be loaded and/or initializedprotected void configureBlojsom(javax.servlet.ServletConfig servletConfig) throws javax.servlet.ServletException
servletConfig
- Servlet configuration information
javax.servlet.ServletException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |