|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.j2ee.Installer
public class Installer
Provides very basic installation capabilities.
| Field Summary | |
|---|---|
static int |
C_BOOTSTRAP_EXISTS
Return code for bootstrap config already exists |
static int |
C_CONFIG_EXISTS
Return code for repository config already exists |
static int |
C_CONFIG_MISSING
Return code for repository config is missing |
static int |
C_HOME_EXISTS
Return code for repository home already exists |
static int |
C_HOME_MISSING
Return code for repository home is missing |
static int |
C_INSTALL_ERROR
Return code for a general install error |
static int |
C_INSTALL_OK
Return code for installation succeeded |
static int |
C_INVALID_INPUT
Return code for invalid input parameter |
| Constructor Summary | |
|---|---|
Installer(java.io.File bootstrapConfigFile,
javax.servlet.ServletContext context)
Creates a new installer |
|
| Method Summary | |
|---|---|
int |
installRepository(javax.servlet.http.HttpServletRequest req)
Handles the installation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int C_INSTALL_OK
public static final int C_INVALID_INPUT
public static final int C_HOME_EXISTS
public static final int C_HOME_MISSING
public static final int C_CONFIG_EXISTS
public static final int C_CONFIG_MISSING
public static final int C_BOOTSTRAP_EXISTS
public static final int C_INSTALL_ERROR
| Constructor Detail |
|---|
public Installer(java.io.File bootstrapConfigFile,
javax.servlet.ServletContext context)
bootstrapConfigFile - the location for the config filecontext - the servlet context for accessing resources| Method Detail |
|---|
public int installRepository(javax.servlet.http.HttpServletRequest req)
throws javax.servlet.ServletException,
java.io.IOException
req - the servlet request with the input parameters
javax.servlet.ServletException - if a servlet error occurs.
java.io.IOException - if an I/O error occurs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||