net.hasor.web.servlet.context
类 AnnoWebAppContext
java.lang.Object
net.hasor.core.context.AbstractAppContext
net.hasor.core.context.SimpleAppContext
net.hasor.core.context.StandardAppContext
net.hasor.core.context.AnnoStandardAppContext
net.hasor.web.servlet.context.AnnoWebAppContext
- 所有已实现的接口:
- net.hasor.core.AppContext
public class AnnoWebAppContext
- extends net.hasor.core.context.AnnoStandardAppContext
- 版本:
- : 2013-7-16
- 作者:
- 赵永春 (zyc@hasor.net)
| 从类 net.hasor.core.context.StandardAppContext 继承的字段 |
DefaultSettings |
| 从接口 net.hasor.core.AppContext 继承的字段 |
ContextEvent_Init, ContextEvent_Start, ContextEvent_Stop |
|
方法摘要 |
protected net.hasor.core.Environment |
createEnvironment()
|
protected com.google.inject.Injector |
createInjector(com.google.inject.Module[] guiceModules)
|
javax.servlet.ServletContext |
getServletContext()
获取ServletContext |
protected net.hasor.core.binder.ApiBinderModule |
newApiBinder(net.hasor.core.module.AbstractModulePropxy forModule,
com.google.inject.Binder binder)
|
| 从类 net.hasor.core.context.AnnoStandardAppContext 继承的方法 |
initContext, loadModule |
| 从类 net.hasor.core.context.StandardAppContext 继承的方法 |
getMainSettings |
| 从类 net.hasor.core.context.AbstractAppContext 继承的方法 |
addModule, generateModulePropxy, getBean, getBeanInfo, getBeanName, getBeanNames, getBeanType, getClassSet, getContext, getEnvironment, getEventManager, getGuice, getInstance, getInstanceByBindingType, getModulePropxyList, getModules, getProviderByBindingType, getSettings, getStartTime, isReady, isStart, printModState, reboot, removeModule, restart, setContext, start, stop |
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnoWebAppContext
public AnnoWebAppContext()
throws IOException
- 抛出:
IOException
AnnoWebAppContext
public AnnoWebAppContext(javax.servlet.ServletContext servletContext)
throws IOException
- 抛出:
IOException
AnnoWebAppContext
public AnnoWebAppContext(String mainSettings)
throws IOException
- 抛出:
IOException
AnnoWebAppContext
public AnnoWebAppContext(File mainSettings)
AnnoWebAppContext
public AnnoWebAppContext(URI mainSettings)
AnnoWebAppContext
public AnnoWebAppContext(String mainSettings,
javax.servlet.ServletContext servletContext)
throws IOException
- 抛出:
IOException
AnnoWebAppContext
public AnnoWebAppContext(File mainSettings,
javax.servlet.ServletContext servletContext)
AnnoWebAppContext
public AnnoWebAppContext(URI mainSettings,
javax.servlet.ServletContext servletContext)
getServletContext
public javax.servlet.ServletContext getServletContext()
- 获取
ServletContext
createEnvironment
protected net.hasor.core.Environment createEnvironment()
- 覆盖:
- 类
net.hasor.core.context.StandardAppContext 中的 createEnvironment
createInjector
protected com.google.inject.Injector createInjector(com.google.inject.Module[] guiceModules)
- 覆盖:
- 类
net.hasor.core.context.AbstractAppContext 中的 createInjector
newApiBinder
protected net.hasor.core.binder.ApiBinderModule newApiBinder(net.hasor.core.module.AbstractModulePropxy forModule,
com.google.inject.Binder binder)
- 覆盖:
- 类
net.hasor.core.context.AbstractAppContext 中的 newApiBinder
Copyright © 2013. All Rights Reserved.