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
public class RuntimeBuilderServer extends JettyRunConfiguration
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.State
Field Summary
Fields inherited from class com.iizix.server.ServerShell
externalBrowserPages, memoryJarFactory, xjarFactory
Constructor Summary
Constructors Constructor Description RuntimeBuilderServer(java.io.File configFile, java.lang.String extServerURL, java.lang.String root, AppDefinition[] apps)
Constructor for the standard server.
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IWSUploaderService
getWSUploaderService()
Gets the web service file uploader service.static void
main(java.lang.String[] args)
Entry point for stand-alone server start.void
onStartServer()
Called to initialize the server.Methods inherited from class com.iizix.server.JettyRunConfiguration
configureProxy, doCompressNormalHTML, getProxy, getRootDirectory, getWebServerCompression, getWebServerMapping, loadApplications, main, onDispose
Methods inherited from class com.iizix.server.ServerShell
_getState, _registerApplication, _unregisterApplication, addDisposeListener, addEndPointListener, addFileUploader, addModule, configureSessionMgr, dispose, flushStartupLog, getAccessibleEnvironments, getActiveUserSessions, getAdditionalInformation, getApplication, getApplications, getCurrentDirectory, getDefaultMailSender, getEmailVerificationURL, getEndPointsInstances, getETag, getExecutorService, getExternalWebServerBaseURL, getFileProviderEngine, getHistory, getInfoClass, getInstance, getInstance, getKStringInfoProvider, getMailSender, getPropertyFactory, getPropertyManager, getServerConfigFile, getServerLogger, getServerProperties, getServerSettings, getServerThreadGroup, getSourceResolver, getStartTime, getState, getTXPCoordinator, getWebLogos, getWebThumbs, getWorker, 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
RuntimeBuilderServer
public RuntimeBuilderServer(java.io.File configFile, java.lang.String extServerURL, java.lang.String root, AppDefinition[] apps) 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.- Throws:
java.io.IOException
- For load failure.PropException
- For property errors.
Method Detail
main
public static void main(java.lang.String[] args)
Entry point for stand-alone server start.
onStartServer
public void onStartServer() throws java.lang.Throwable
Called to initialize the server.- Specified by:
onStartServer
in interfaceIServer
- Overrides:
onStartServer
in classJettyRunConfiguration
- Throws:
java.lang.Throwable
- for start-up errors.
getWSUploaderService
public IWSUploaderService getWSUploaderService()
Gets the web service file uploader service.- Overrides:
getWSUploaderService
in classServerShell
- Returns:
- The instance of the web service file uploader service.