Kodo 4.2.0. generated on July 28 2008

kodo.remote
Class PersistenceServerServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by kodo.remote.PersistenceServerServlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public class PersistenceServerServlet
extends HttpServlet

Servlet that creates a server-side factory and listens for requests from remote brokers configured with the HTTP remote transport. The factory can be configured in several ways:

See Also:
Serialized Form

Constructor Summary
PersistenceServerServlet()
           
 
Method Summary
 void destroy()
           
 void doGet(HttpServletRequest req, HttpServletResponse resp)
           
 void doPost(HttpServletRequest req, HttpServletResponse resp)
           
protected  BrokerFactory getBrokerFactory(ServletConfig config)
          Override this method to customize how the servlet's persistence factory is created and configured.
 void init(ServletConfig config)
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
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
 

Constructor Detail

PersistenceServerServlet

public PersistenceServerServlet()
Method Detail

init

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

getBrokerFactory

protected BrokerFactory getBrokerFactory(ServletConfig config)
                                  throws ServletException
Override this method to customize how the servlet's persistence factory is created and configured.

Throws:
ServletException

doGet

public void doGet(HttpServletRequest req,
                  HttpServletResponse resp)
           throws IOException,
                  ServletException
Overrides:
doGet in class HttpServlet
Throws:
IOException
ServletException

doPost

public void doPost(HttpServletRequest req,
                   HttpServletResponse resp)
            throws IOException,
                   ServletException
Overrides:
doPost in class HttpServlet
Throws:
IOException
ServletException

destroy

public void destroy()
Specified by:
destroy in interface Servlet
Overrides:
destroy in class GenericServlet

Kodo 4.2.0. generated on July 28 2008

Copyright 2001-2006 BEA Systems, Inc. All Rights Reserved.