Class RuntimeBuilderServer
java.lang.Object
com.iizix.server.ServerShell
com.iizix.server.JettyRunConfiguration
com.iizix.server.run.remote.RuntimeBuilderServer
- All Implemented Interfaces:
IWebServiceEngine, WebSocketAcceptor, IAdditonalInformation<UserInfoHistoryEntry>, IPushNotificationService, IAppLoader, IServer, IKStringInfoProviderHolder
The IIZI Runtime Builder Server that processes remote building of customized iiziRun's from an iiziGo instance.
- Author:
- Christopher Mindus
Nested Class Summary
Nested classes/interfaces inherited from interface IServer
IServer.InvalidAppID, IServer.StateField Summary
Fields inherited from class ServerShell
externalBrowserPages, memoryJarFactory, xjarFactoryFields inherited from interface IServer
MAX_VALID_APP_ID_LENGTHConstructor Summary
ConstructorsMethod Summary
Modifier and TypeMethodDescriptionGets the web service file uploader service.static voidEntry point for stand-alone server start.voidCalled to initialize the server.Methods inherited from class JettyRunConfiguration
addSyntax, configureProxy, doCompressNormalHTML, getProxy, getRootCanonicalDirectory, getRootDirectory, getWebServerCompression, getWebServerDirectoryAlias, getWebServerDirectoryMapper, getWebServerMapping, loadApplications, main, onDispose, registerServlet, unregisterServlet, useHotDeployMethods inherited from class ServerShell
_getState, _registerApplication, _unregisterApplication, addDisposeListener, addEndPointListener, addFileUploader, addModule, addUserLoginProhibitedInterval, configureSessionMgr, dispose, flushStartupLog, getAccessibleEnvironments, getActiveUserSessions, getAdditionalInformation, getAllAppAliases, 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, getURNFactory, getUserLoginProhibitedIntervals, getWebLogos, getWebThumbs, getWorker, initializeCompressedFiles, 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, updateWebServerRootMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IPushNotificationService
getPushNotificationEngine
Constructor Details
RuntimeBuilderServer
public RuntimeBuilderServer(File configFile, String extServerURL, String root, boolean useHotDeploy, AppDefinition[] apps, Map<String, String> allAppAliases, Map<String, throws IOException, PropExceptionFile> dirMap) Constructor for the runtime builder 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.allAppAliases- App aliases table.dirMap- Map of directories to be mapped.- Throws:
IOException- For load failure.PropException- For property errors.
Method Details
main
Entry point for stand-alone server start.onStartServer
Called to initialize the server.- Specified by:
onStartServerin interfaceIServer- Overrides:
onStartServerin classJettyRunConfiguration- Throws:
Throwable- for start-up errors.
getWSUploaderService
Gets the web service file uploader service.- Overrides:
getWSUploaderServicein classServerShell- Returns:
- The instance of the web service file uploader service.