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
public class StandardServer extends JettyRunConfiguration
The iiziServer in standard mode.- Author:
- Christopher Mindus
Nested Class Summary
Nested classes/interfaces inherited from interface com.iizix.server.IServer
IServer.State
Field Summary
Fields inherited from class com.iizix.server.ServerShell
externalBrowserPages, memoryJarFactory, xjarFactory
Constructor Summary
Constructors Constructor Description StandardServer(java.io.File configFile, java.lang.String extServerURL, java.lang.String root, AppDefinition[] apps, java.util.Map<java.lang.String,java.lang.String> appAliases)
Constructor for the standard server.
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] args)
Entry point for stand-alone server start.Methods inherited from class com.iizix.server.JettyRunConfiguration
configureProxy, doCompressNormalHTML, getProxy, getRootDirectory, getWebServerCompression, getWebServerMapping, loadApplications, main, onDispose, onStartServer
Methods inherited from class com.iizix.server.ServerShell
_getState, _registerApplication, _unregisterApplication, addDisposeListener, addEndPointListener, addFileUploader, addModule, 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, getWebLogos, getWebThumbs, getWorker, getWSUploaderService, initializeCompressedFiles, initializeURNFactory, isRequestURIAccepted, loadFile, loadFile, loadPlugins, loadPluginsAndConfig, loadServerConfig, onApplicationSessionStarted, onApplicationSessionStopped, onDisposed, onEndPointDisposed, registerApplication, registerApplication, registerEndPointConstructor, registerRegionLocationServiceProviders, registerRequestPrinter, removeDisposeListener, removeEndPointListener, removeFileUploader, removeModule, saveFile, saveServerConfig, setWSFileProviderEngine, shutdownRegionLocationServiceProviders, startServer, unregisterApplication, unregisterEndPointConstructor, unregisterRequestPrinter, updateWebServerRoot
Constructor Detail
StandardServer
public StandardServer(java.io.File configFile, java.lang.String extServerURL, java.lang.String root, AppDefinition[] apps, java.util.Map<java.lang.String,java.lang.String> appAliases) throws java.io.IOException, PropException
Constructor 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.apps
- The apps loaded.appAliases
- App aliases table.- Throws:
java.io.IOException
- For load failure.PropException
- For property errors.