com.noelios.restlet.ext.xdb
Class XdbServletWarClientHelper
java.lang.Object
org.restlet.util.Helper<T>
com.noelios.restlet.ConnectorHelper<Client>
com.noelios.restlet.ClientHelper
com.noelios.restlet.local.LocalClientHelper
com.noelios.restlet.local.EntityClientHelper
com.noelios.restlet.ext.servlet.ServletWarClientHelper
com.noelios.restlet.ext.xdb.XdbServletWarClientHelper
public class XdbServletWarClientHelper
- extends ServletWarClientHelper
Local client connector based on a XMLDB repository. WARs are deployed at
XMLDB repository using this directory layout /home/[SCHEMA]/wars/[AppName]/
where SCHEMA: is a database user, for example SCOTT AppName: is a Servlet
Name configured with XdbServerServlet adapter Note: For Servlet running with
PUBLIC grants run with an effective user ANONYMOUS so WARs deployment will be
located at /home/ANONYMOUS/wars
- Author:
- Marcelo F. Ochoa (mochoa@ieee.org)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XdbServletWarClientHelper
public XdbServletWarClientHelper(Client client,
ServletConfig config,
java.sql.Connection conn)
- Constructor.
- Parameters:
client
- The client to help.config
- The Servlet Configconn
- The JDBC Connection
getConfig
public ServletConfig getConfig()
- Returns the Servlet Config.
- Returns:
- The Servlet Config.
handle
public void handle(Request request,
Response response)
- Overrides:
handle
in class ServletWarClientHelper
start
public void start()
throws java.lang.Exception
- Overrides:
start
in class ConnectorHelper<Client>
- Throws:
java.lang.Exception
Copyright © 2005-2008 Noelios Technologies.