public abstract class AbstractServletContainerStarter extends Object implements ClassLoaderAware, IocAware, AppContextAware, org.nutz.lang.util.LifeCycle
| 限定符和类型 | 字段和说明 |
|---|---|
protected AppContext |
appContext |
protected ClassLoader |
classLoader |
protected org.nutz.ioc.impl.PropertiesProxy |
conf |
protected org.nutz.ioc.Ioc |
ioc |
protected org.nutz.lang.util.NutMap |
monitorProps |
| 构造器和说明 |
|---|
AbstractServletContainerStarter() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
depose() |
void |
fetch() |
protected abstract String |
getConfigurePrefix() |
String |
getContextPath() |
Map<String,String> |
getErrorPages() |
String |
getHost() |
Collection<String> |
getMonitorKeys() |
Object |
getMonitorValue(String key) |
int |
getPort() |
List<String> |
getResourcePaths() |
int |
getSessionTimeout() |
String[] |
getWelcomeFiles() |
void |
setAppContext(AppContext appContext) |
void |
setClassLoader(ClassLoader classLoader) |
void |
setIoc(org.nutz.ioc.Ioc ioc) |
void |
updateMonitorValue(String key,
Object value) |
@Inject protected org.nutz.ioc.impl.PropertiesProxy conf
protected ClassLoader classLoader
protected org.nutz.ioc.Ioc ioc
protected AppContext appContext
protected org.nutz.lang.util.NutMap monitorProps
protected abstract String getConfigurePrefix()
public void setClassLoader(ClassLoader classLoader)
setClassLoader 在接口中 ClassLoaderAwarepublic void setAppContext(AppContext appContext)
setAppContext 在接口中 AppContextAwarepublic int getPort()
public String getHost()
public String getContextPath()
public void fetch()
throws Exception
fetch 在接口中 org.nutz.lang.util.LifeCycleExceptionpublic void depose()
throws Exception
depose 在接口中 org.nutz.lang.util.LifeCycleExceptionpublic int getSessionTimeout()
public String[] getWelcomeFiles()
public Collection<String> getMonitorKeys()
Copyright © 2019. All rights reserved.