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 String
getBundleFilter()
JNDIConfig
getJndiConfig()
String
getRepositoryConfig()
String
getRepositoryHome()
String
getRepositoryName()
int
getStartupTimeout()
void
init(Properties props)
Initializes the configuration with values from the given propertiesvoid
init(javax.servlet.ServletConfig ctx)
boolean
isRepositoryCreateDefaultIndexes()
boolean
isShutdownOnTimeout()
void
logInfos()
void
setBundleFilter(String bundleFilter)
void
setRepositoryConfig(String repositoryConfig)
void
setRepositoryCreateDefaultIndexes(boolean repositoryCreateDefaultIndexes)
void
setRepositoryHome(String repositoryHome)
void
setRepositoryName(String repositoryName)
void
setShutdownOnTimeout(boolean shutdownOnTimeout)
void
setStartupTimeout(int startupTimeout)
void
validate()
-
Methods inherited from class org.apache.jackrabbit.j2ee.AbstractConfig
isValid, toMapName
-
-
-
-
Method Detail
-
init
public void init(Properties props) throws javax.servlet.ServletException
Description copied from class:AbstractConfig
Initializes the configuration with values from the given properties- Overrides:
init
in classAbstractConfig
- Parameters:
props
- the configuration properties- Throws:
javax.servlet.ServletException
-
init
public void init(javax.servlet.ServletConfig ctx) throws javax.servlet.ServletException
- Overrides:
init
in classAbstractConfig
- 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)
-
getBundleFilter
public String getBundleFilter()
-
setBundleFilter
public void setBundleFilter(String bundleFilter)
-
getJndiConfig
public JNDIConfig getJndiConfig()
-
isShutdownOnTimeout
public boolean isShutdownOnTimeout()
-
setShutdownOnTimeout
public void setShutdownOnTimeout(boolean shutdownOnTimeout)
-
getStartupTimeout
public int getStartupTimeout()
-
setStartupTimeout
public void setStartupTimeout(int startupTimeout)
-
isRepositoryCreateDefaultIndexes
public boolean isRepositoryCreateDefaultIndexes()
-
setRepositoryCreateDefaultIndexes
public void setRepositoryCreateDefaultIndexes(boolean repositoryCreateDefaultIndexes)
-
validate
public void validate()
- Overrides:
validate
in classAbstractConfig
-
logInfos
public void logInfos()
- Overrides:
logInfos
in classAbstractConfig
-
-