org.opencrx.application.news
Class NewsServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.opencrx.application.news.NewsServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class NewsServlet
extends javax.servlet.http.HttpServlet

See Also:
Serialized Form

Field Summary
protected  ComponentConfiguration componentConfiguration
           
protected static String CONFIGURATION_ID
           
protected static int MAX_NEWS
           
protected static String PARAMETER_NAME_TYPE
           
protected  javax.jdo.PersistenceManagerFactory persistenceManagerFactory
           
protected static String RESOURCE_TYPE_RSS
           
protected  javax.jdo.PersistenceManager rootPm
           
 
Constructor Summary
NewsServlet()
           
 
Method Summary
protected  void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
           
protected  ComponentConfiguration getComponentConfiguration(String providerName)
           
protected  javax.jdo.PersistenceManager getPersistenceManager(javax.servlet.http.HttpServletRequest req)
           
 void init(javax.servlet.ServletConfig config)
           
protected  String[] splitUri(String uri)
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, 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

CONFIGURATION_ID

protected static final String CONFIGURATION_ID
See Also:
Constant Field Values

RESOURCE_TYPE_RSS

protected static final String RESOURCE_TYPE_RSS
See Also:
Constant Field Values

PARAMETER_NAME_TYPE

protected static final String PARAMETER_NAME_TYPE
See Also:
Constant Field Values

MAX_NEWS

protected static final int MAX_NEWS
See Also:
Constant Field Values

persistenceManagerFactory

protected javax.jdo.PersistenceManagerFactory persistenceManagerFactory

rootPm

protected javax.jdo.PersistenceManager rootPm

componentConfiguration

protected ComponentConfiguration componentConfiguration
Constructor Detail

NewsServlet

public NewsServlet()
Method Detail

init

public void init(javax.servlet.ServletConfig config)
          throws javax.servlet.ServletException
Specified by:
init in interface javax.servlet.Servlet
Overrides:
init in class javax.servlet.GenericServlet
Throws:
javax.servlet.ServletException

getPersistenceManager

protected javax.jdo.PersistenceManager getPersistenceManager(javax.servlet.http.HttpServletRequest req)

getComponentConfiguration

protected ComponentConfiguration getComponentConfiguration(String providerName)

splitUri

protected String[] splitUri(String uri)

doGet

protected void doGet(javax.servlet.http.HttpServletRequest req,
                     javax.servlet.http.HttpServletResponse resp)
              throws javax.servlet.ServletException,
                     IOException
Overrides:
doGet in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
IOException


This software is published under the BSD license. Copyright © 2003-2009, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.