Package com.iizix.server
Class StandardServer
java.lang.Object
com.iizix.server.ServerShell
com.iizix.server.JettyRunConfiguration
com.iizix.server.StandardServer
- All Implemented Interfaces:
IWebServiceEngine
,WebSocketAcceptor
,IAdditonalInformation<UserInfoHistoryEntry>
,IAppLoader
,IServer
,IKStringInfoProviderHolder
The iiziServer in standard mode.
- Author:
- Christopher Mindus
Nested Class Summary
Nested classes/interfaces inherited from interface com.iizix.server.IServer
IServer.InvalidAppID, IServer.State
Field Summary
Fields inherited from class com.iizix.server.ServerShell
externalBrowserPages, memoryJarFactory, xjarFactory
Fields inherited from interface com.iizix.server.IServer
MAX_VALID_APP_ID_LENGTH
Constructor Summary
ConstructorDescriptionStandardServer
(File configFile, String extServerURL, String root, boolean useHotDeploy, AppDefinition[] apps, Map<String, String> appAliases) Constructor for the standard server.Method Summary
Methods inherited from class com.iizix.server.JettyRunConfiguration
addSyntax, configureProxy, doCompressNormalHTML, getProxy, getRootDirectory, getWebServerCompression, getWebServerMapping, loadApplications, main, onDispose, onStartServer, useHotDeploy
Methods inherited from class com.iizix.server.ServerShell
_getState, _registerApplication, _unregisterApplication, addDisposeListener, addEndPointListener, addFileUploader, addModule, addUserLoginProhibitedInterval, configureSessionMgr, dispose, flushStartupLog, getAccessibleEnvironments, getActiveUserSessions, getAdditionalInformation, getAppAliases, getApplication, getApplications, getCurrentDirectory, getDefaultMailSender, getEmailVerificationURL, getEndPointsInstances, getETag, getExecutorService, getExternalWebServerBaseURL, getFileProviderEngine, getHandledContextPaths, getHistory, getInfoClass, getInstance, getInstance, getKStringInfoProvider, getMailSender, getPropertyFactory, getPropertyManager, getServerConfigFile, getServerLogger, getServerProperties, getServerSettings, getServerThreadGroup, getSourceResolver, getStartTime, getState, getTXPCoordinator, getUserLoginProhibitedIntervals, getWebLogos, getWebThumbs, getWorker, getWSUploaderService, initializeCompressedFiles, initializeURNFactory, isRequestURIAccepted, isUserLoginEnabled, isUserLoginPermittedNow, loadFile, loadFile, loadPlugins, loadPluginsAndConfig, loadServerConfig, onApplicationSessionStarted, onApplicationSessionStopped, onDisposed, onEndPointDisposed, registerApplication, registerApplication, registerEndPointConstructor, registerRegionLocationServiceProviders, registerRequestPrinter, removeDisposeListener, removeEndPointListener, removeFileUploader, removeModule, saveFile, saveServerConfig, setUserLoginEnabled, setWSFileProviderEngine, shutdownRegionLocationServiceProviders, startServer, unregisterApplication, unregisterEndPointConstructor, unregisterRequestPrinter, updateWebServerRoot
Constructor Details
StandardServer
public StandardServer(File configFile, String extServerURL, String root, boolean useHotDeploy, AppDefinition[] apps, Map<String, String> appAliases) throws IOException, PropExceptionConstructor for the standard server.- Parameters:
configFile
- The configuration file, null for default.extServerURL
- The external server URL, null for default.root
- The Web Server root, null for default.useHotDeploy
- If hot deploy should be used or not.apps
- The apps loaded.appAliases
- App aliases table.- Throws:
IOException
- For load failure.PropException
- For property errors.
Method Details
main
Entry point for stand-alone server start.