|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.apache.jackrabbit.j2ee.RepositoryStartupServlet
The RepositoryStartupServlet starts a jackrabbit repository and registers it to the JNDI environment and optional to the RMI registry.
| Field Summary | |
static String |
INIT_PARAM_LOG4J_CONFIG
initial param name for the log4j config properties |
static String |
INIT_PARAM_REPOSITORY_CONFIG
initial param name for the repository config location |
static String |
INIT_PARAM_REPOSITORY_HOME
initial param name for the repository home directory |
static String |
INIT_PARAM_REPOSITORY_NAME
initial param name for the repository name |
static String |
INIT_PARAM_RMI_PORT
initial param name for the rmi port |
| Constructor Summary | |
RepositoryStartupServlet()
|
|
| Method Summary | |
protected Repository |
createRepository(InputSource is,
File homedir)
Creates the repository for the given config and homedir. |
void |
destroy()
destroy the servlet |
void |
init()
Initializes the servlet |
| 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 |
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 |
public static final String INIT_PARAM_REPOSITORY_CONFIG
public static final String INIT_PARAM_REPOSITORY_HOME
public static final String INIT_PARAM_REPOSITORY_NAME
public static final String INIT_PARAM_RMI_PORT
public static final String INIT_PARAM_LOG4J_CONFIG
| Constructor Detail |
public RepositoryStartupServlet()
| Method Detail |
public void init()
throws javax.servlet.ServletException
javax.servlet.ServletExceptionpublic void destroy()
protected Repository createRepository(InputSource is,
File homedir)
throws RepositoryException
is - homedir -
RepositoryException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||