Package com.iizix.server.run.remote
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>
,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 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
ConstructorDescriptionRuntimeBuilderServer
(File configFile, String extServerURL, String root, boolean useHotDeploy, AppDefinition[] apps, Map<String, String> appAliases) Constructor for the runtime builder server.Method Summary
Modifier and TypeMethodDescriptionGets the web service file uploader service.static void
Entry point for stand-alone server start.void
Called to initialize the server.Methods inherited from class com.iizix.server.JettyRunConfiguration
addSyntax, configureProxy, doCompressNormalHTML, getProxy, getRootDirectory, getWebServerCompression, getWebServerMapping, loadApplications, main, onDispose, 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, 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
RuntimeBuilderServer
public RuntimeBuilderServer(File configFile, String extServerURL, String root, boolean useHotDeploy, AppDefinition[] apps, Map<String, String> appAliases) throws IOException, PropExceptionConstructor 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.appAliases
- App aliases table.- 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:
onStartServer
in interfaceIServer
- Overrides:
onStartServer
in classJettyRunConfiguration
- Throws:
Throwable
- for start-up errors.
getWSUploaderService
Gets the web service file uploader service.- Overrides:
getWSUploaderService
in classServerShell
- Returns:
- The instance of the web service file uploader service.