public class J2EEServer extends ServerShell
IServer.State
externalBrowserPages, memoryJarFactory, xjarFactory
Modifier and Type | Method and Description |
---|---|
void |
configureProxy(HttpURLConnection urlConnection)
Configures a Http(s)URLConnection for proxy information.
|
boolean |
doCompressNormalHTML()
Flag indicating the normal HTML files needs compression along with CSS minify and JS compression.
|
static J2EEServer |
getInstance()
Gets the J2EE Server instance.
|
Proxy |
getProxy(URL url)
Gets a proxy to use for an URL.
|
String |
getRootDirectory()
Gets the web server root directory.
|
IWebServerCompression |
getWebServerCompression()
Gets the web server compression interface.
|
void |
loadApplications()
Called to load the application.
|
static void |
main(String[] args)
The main method that starts the server followed by the J2EE server engine, such as
GlassFish or JBoss.
|
_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, getKStringInfoProvider, getMailSender, getPropertyFactory, getPropertyManager, getServerConfigFile, getServerLogger, getServerProperties, getServerSettings, getServerThreadGroup, getSourceResolver, getStartTime, getState, getTXPCoordinator, getWebLogos, getWebServerMapping, getWebThumbs, getWorker, getWSUploaderService, initializeCompressedFiles, isRequestURIAccepted, loadFile, loadFile, loadPlugins, loadPluginsAndConfig, loadServerConfig, onApplicationSessionStarted, onApplicationSessionStopped, onDispose, onDisposed, onEndPointDisposed, onStartServer, registerApplication, registerApplication, registerEndPointConstructor, registerRequestPrinter, removeDisposeListener, removeEndPointListener, removeFileUploader, removeModule, saveFile, saveServerConfig, startServer, unregisterApplication, unregisterEndPointConstructor, unregisterRequestPrinter, updateWebServerRoot
public static void main(String[] args)
args
- The command line arguments. Command line arguments for iizi are always
preceded with -iizi
followed by a the next argument being
handled by the iiziServer. All arguments between -j2ee
delimiters (or the end of the line) are passed to the J2EE server.public void loadApplications() throws Throwable
loadApplications
in interface IServer
loadApplications
in class ServerShell
Throwable
- for start-up errors.public static J2EEServer getInstance()
public Proxy getProxy(URL url)
url
- The URL.public void configureProxy(HttpURLConnection urlConnection)
urlConnection
- The HttpURLConnection or HttpsURLConnection.public String getRootDirectory()
public IWebServerCompression getWebServerCompression()
getWebServerCompression
in class ServerShell
public boolean doCompressNormalHTML()
The files are typically: iiziApp.html and iiziVSViewer.html.
doCompressNormalHTML
in class ServerShell
iizi® is a registered trademark of Mindus SARL. © Copyright Mindus SARL, 2020. All rights reserved.