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, AppDefinition[] apps, Map<String, String> appAliases) Constructor for the standard 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
configureProxy, doCompressNormalHTML, getProxy, getRootDirectory, getWebServerCompression, getWebServerMapping, loadApplications, main
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, onDispose, 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, 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.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.