|
|||||||||||
| 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.BasicServer
Title: BasicServer.java
Description:
| Field Summary |
| Constructor Summary | |
BasicServer(org.w3c.dom.Element rootElement,
java.io.File fedoraHomeDir)
|
|
| Method Summary | |
java.lang.String[] |
getRequiredModuleRoles()
Gets the names of the roles that are required to be fulfilled by modules specified in this server's configuration file. |
void |
initServer()
Performs any server start-up tasks particular to this type of Server. |
static void |
main(java.lang.String[] args)
|
void |
shutdownServer()
Performs shutdown tasks for the server itself. |
| Methods inherited from class fedora.server.Server |
closeLogger, datastoreConfigIds, finalize, flushLogger, getConfigSummary, getDatastoreConfig, getHomeDir, getInstance, getInstance, getLocale, getModule, getPID, hasInitialized, hasInstance, loadedModuleRoles, logConfig, logFine, logFiner, logFinest, loggingConfig, loggingFine, loggingFiner, loggingFinest, loggingInfo, loggingSevere, loggingWarning, logInfo, logSevere, logWarning, overrideModuleClass, overrideModuleRole, pidFromFilename, postInitServer, setLogger, shutdown, status |
| Methods inherited from class fedora.server.Pluggable |
getHelp, getOptionalParameters, getParameterHelp, getRequiredParameters |
| Methods inherited from class fedora.server.Parameterized |
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 BasicServer(org.w3c.dom.Element rootElement,
java.io.File fedoraHomeDir)
throws ServerInitializationException,
ModuleInitializationException
| Method Detail |
public void initServer()
throws ServerInitializationException
Server
initServer in class ServerServerInitializationException - If a severe server startup-related
error occurred.
public void shutdownServer()
throws ServerShutdownException
ServerServer implementations that tie up
additional system resources.
This should be written so that system resources are always freed,
regardless of whether there is an error. If an error occurs,
it should be thrown as a ServerShutdownException after
attempts to free every resource have been made.
shutdownServer in class ServerServerShutdownException - If a severe server shutdown-related error
occurred.public java.lang.String[] getRequiredModuleRoles()
getRequiredModuleRoles in class Pluggable
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exception
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||