org.exist.http.servlets
Class DatabaseAdminServlet
java.lang.Object
HttpServlet
org.exist.http.servlets.DatabaseAdminServlet
- public class DatabaseAdminServlet
- extends HttpServlet
Servlet to configure eXist. Use this servlet in a web
application to launch the database at startup.
- Author:
- Wolfgang Meier
- See Also:
- Serialized Form
|
Method Summary |
void |
destroy()
|
void |
doGet(HttpServletRequest request,
HttpServletResponse response)
|
void |
init(ServletConfig config)
Initialize the servlet. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
confFile
protected java.lang.String confFile
configuration
protected Configuration configuration
dbHome
protected java.lang.String dbHome
DatabaseAdminServlet
public DatabaseAdminServlet()
doGet
public void doGet(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
java.io.IOException
- Throws:
ServletException
java.io.IOException
init
public void init(ServletConfig config)
throws ServletException
- Initialize the servlet. Tries to determine the base directory
for eXist (usually WEB-INF) and the location of the configuration
file. If a valid configuration is found, the database is launched
by configuring the pool of database brokers.
In web.xml, add the option
2
for the servlet to be loaded on server startup.
- Throws:
ServletException- See Also:
javax.servlet.Servlet#init(ServletConfig)
destroy
public void destroy()
<oXygen/>
XML Editor
provides support for editing and debugging XQuery
expressions against the eXist XML Database.