public class SimpleSolonApp extends SolonApp
| 构造器和说明 |
|---|
SimpleSolonApp(java.lang.Class<?> source,
NvMap args) |
SimpleSolonApp(java.lang.Class<?> source,
java.lang.String... args) |
| 限定符和类型 | 方法和说明 |
|---|---|
SimpleSolonApp |
globalize(boolean globalize)
是否全局化(默认为 true)
|
protected boolean |
isMain()
是否为主应用对象
|
SimpleSolonApp |
start(ConsumerEx<SolonApp> initialize)
简单开始
|
void |
stop()
简单停止(阻塞模式)
|
beanImportTry, block, cfg, classLoader, context, converterManager, doStatus, elapsedTimes, enableCaching, enableCaching, enableHttp, enableHttp, enableScanning, enableScanning, enableSessionState, enableSessionState, enableSocketD, enableSocketD, enableStaticfiles, enableStaticfiles, enableTransaction, enableTransaction, enableWebSocket, enableWebSocket, factoryManager, handler, onEvent, onEvent, onSharedAdd, onStatus, plug, pluginAdd, pluginExclude, pluginExclude, pluginGet, prestopDo, renderManager, serializerManager, shared, sharedAdd, sharedGet, signalAdd, signalGet, signals, source, sourceLocation, startDo, stopDo, stoppingDo, tryHandleadd, add, add, add, all, chainManager, delete, filter, filter, filterIfAbsent, get, head, http, initRouter, patch, post, put, render, render, renderOfJson, router, routerHandler, routerInterceptor, routerInterceptor, routerInterceptorIfAbsent, socketdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddpublic SimpleSolonApp(java.lang.Class<?> source,
java.lang.String... args)
throws java.lang.Exception
java.lang.Exceptionpublic SimpleSolonApp(java.lang.Class<?> source,
NvMap args)
throws java.lang.Exception
java.lang.Exceptionpublic SimpleSolonApp globalize(boolean globalize)
public SimpleSolonApp start(ConsumerEx<SolonApp> initialize) throws java.lang.Throwable
java.lang.Throwablepublic void stop()