@IocBean public class LogbackStarter extends Object implements ServerFace
| 限定符和类型 | 字段和说明 |
|---|---|
protected org.nutz.ioc.impl.PropertiesProxy |
conf |
protected org.nutz.ioc.Ioc |
ioc |
protected LoglevelProperty |
loglevelProperty |
static String |
PROP_DEPLOY_ENABLED |
static String |
PROP_DEPLOY_ROOT |
static String |
PROP_LOGLEVEL_ENABLED |
static String |
PROP_LOGLEVEL_HEARTBEAT |
static String |
PROP_LOGLEVEL_KEEPALIVE |
static String |
PROP_LOGLEVEL_NAME |
| 构造器和说明 |
|---|
LogbackStarter() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getVersion(String root,
String name,
String type) |
boolean |
isRunning() |
void |
start() |
void |
stop() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfailsafe@Inject protected LoglevelProperty loglevelProperty
@Inject(value="refer:$ioc") protected org.nutz.ioc.Ioc ioc
@Inject protected org.nutz.ioc.impl.PropertiesProxy conf
@PropDoc(value="\u542f\u7528\u52a8\u6001\u65e5\u5fd7\u7b49\u7ea7", defaultValue="false", type="boolean") public static final String PROP_LOGLEVEL_ENABLED
@PropDoc(value="\u5b9e\u4f8b\u540d\u79f0,\u4e0d\u8bbe\u7f6e\u5219\u81ea\u52a8\u83b7\u53d6nutz.application.name", type="string") public static final String PROP_LOGLEVEL_NAME
@PropDoc(value="\u5fc3\u8df3\u95f4\u9694", type="int", defaultValue="5") public static final String PROP_LOGLEVEL_HEARTBEAT
@PropDoc(value="\u7f13\u5b58\u65f6\u95f4", type="int", defaultValue="30") public static final String PROP_LOGLEVEL_KEEPALIVE
@PropDoc(value="\u542f\u7528\u90e8\u7f72\u76d1\u63a7", defaultValue="false", type="boolean") public static final String PROP_DEPLOY_ENABLED
public void start()
throws Exception
start 在接口中 ServerFaceExceptionpublic void stop()
throws Exception
stop 在接口中 ServerFaceExceptionpublic boolean isRunning()
isRunning 在接口中 ServerFaceCopyright © 2019. All rights reserved.