Package org.apache.jackrabbit.j2ee
Class BootstrapConfig
- java.lang.Object
-
- org.apache.jackrabbit.j2ee.AbstractConfig
-
- org.apache.jackrabbit.j2ee.BootstrapConfig
-
public class BootstrapConfig extends AbstractConfig
The bootstrap configuration hold information about initial startup parameters like repository config and home. It supports the following properties and init parameters:+-------------------+-------------------+ | Property Name | Init-Param Name | +-------------------+-------------------+ | repository.home | repository-home | | repository.config | repository-config | | repository.name | repository-name | +-------------------+-------------------+
-
-
Field Summary
-
Fields inherited from class org.apache.jackrabbit.j2ee.AbstractConfig
valid
-
-
Constructor Summary
Constructors Constructor Description BootstrapConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JNDIConfig
getJndiConfig()
String
getRepositoryConfig()
String
getRepositoryHome()
String
getRepositoryName()
void
init(Properties props)
void
init(javax.servlet.ServletConfig ctx)
void
logInfos()
void
setRepositoryConfig(String repositoryConfig)
void
setRepositoryHome(String repositoryHome)
void
setRepositoryName(String repositoryName)
void
validate()
-
Methods inherited from class org.apache.jackrabbit.j2ee.AbstractConfig
isValid
-
-
-
-
Method Detail
-
init
public void init(Properties props) throws javax.servlet.ServletException
- Throws:
javax.servlet.ServletException
-
init
public void init(javax.servlet.ServletConfig ctx) throws javax.servlet.ServletException
- Throws:
javax.servlet.ServletException
-
getRepositoryHome
public String getRepositoryHome()
-
setRepositoryHome
public void setRepositoryHome(String repositoryHome)
-
getRepositoryConfig
public String getRepositoryConfig()
-
setRepositoryConfig
public void setRepositoryConfig(String repositoryConfig)
-
getRepositoryName
public String getRepositoryName()
-
setRepositoryName
public void setRepositoryName(String repositoryName)
-
getJndiConfig
public JNDIConfig getJndiConfig()
-
validate
public void validate()
- Overrides:
validate
in classAbstractConfig
-
logInfos
public void logInfos()
- Overrides:
logInfos
in classAbstractConfig
-
-