|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfedora.server.Parameterized
fedora.server.Pluggable
fedora.server.Server
fedora.server.utilities.rebuild.RebuildServer
public class RebuildServer
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface fedora.common.Constants |
|---|
Constants.FedoraHome |
| Field Summary |
|---|
| Fields inherited from interface fedora.common.Constants |
|---|
ACTION, BDEF, BMECH, DATASTREAM, DC, DISSEMINATOR, ENVIRONMENT, FEDORA, FEDORA_HOME, FEDORA_SYSTEM_DEF_PID, FEDORA_SYSTEM_DEF_URI, HTTP_REQUEST, MODEL, OBJECT, RDF, RECOVERY, RELS_EXT, RESOURCE, SUBJECT, TUCANA, VIEW, XSD |
| Constructor Summary | |
|---|---|
RebuildServer(org.w3c.dom.Element rootConfigElement,
java.io.File homeDir)
|
|
| Method Summary | |
|---|---|
static Server |
getRebuildInstance(java.io.File homeDir)
Provides an instance of the server specified in the configuration file at homeDir/CONFIG_DIR/CONFIG_FILE, or DEFAULT_SERVER_CLASS if unspecified. |
protected void |
initServer()
Performs any server start-up tasks particular to this type of Server. |
protected java.lang.String |
overrideModuleClass(java.lang.String moduleClass)
|
protected boolean |
overrideModuleRole(java.lang.String moduleRole)
|
| Methods inherited from class fedora.server.Server |
|---|
configureLog4J, datastoreConfigIds, finalize, getConfigSummary, getCurrentDate, getDatastoreConfig, getHomeDir, getInstance, getInstance, getLocale, getModule, getPID, getStatusFile, hasInitialized, hasInstance, loadedModuleRoles, pidFromFilename, postInitServer, shutdown, shutdownServer, status |
| Methods inherited from class fedora.server.Pluggable |
|---|
getHelp, getOptionalParameters, getParameterHelp, getRequiredModuleRoles, getRequiredParameters |
| Methods inherited from class fedora.server.Parameterized |
|---|
getParameter, getParameter, getParameters, parameterNames, setParameter, setParameters |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RebuildServer(org.w3c.dom.Element rootConfigElement,
java.io.File homeDir)
throws ServerInitializationException,
ModuleInitializationException
rootConfigElement - homeDir -
ServerInitializationException
ModuleInitializationException| Method Detail |
|---|
protected boolean overrideModuleRole(java.lang.String moduleRole)
overrideModuleRole in class Serverprotected java.lang.String overrideModuleClass(java.lang.String moduleClass)
overrideModuleClass in class Server
public static final Server getRebuildInstance(java.io.File homeDir)
throws ServerInitializationException,
ModuleInitializationException
homeDir - The base directory for the server.
ServerInitializationException - If there was an error starting
the server.
ModuleInitializationException - If there was an error starting
a module.
protected void initServer()
throws ServerInitializationException
Server
initServer in class ServerServerInitializationException - If a severe server startup-related
error occurred.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||