net.hasor.web.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.context.AnnoWebAppContext
所有已实现的接口:
net.hasor.core.AppContext, WebAppContext

public class AnnoWebAppContext
extends net.hasor.core.context.AnnoStandardAppContext
implements WebAppContext

版本:
: 2013-7-16
作者:
赵永春 (zyc@hasor.net)

字段摘要
 
从类 net.hasor.core.context.StandardAppContext 继承的字段
DefaultSettings
 
从接口 net.hasor.core.AppContext 继承的字段
ContextEvent_Initialized, ContextEvent_Started, ContextEvent_Stoped, ModuleEvent_Started, ModuleEvent_Stoped
 
构造方法摘要
AnnoWebAppContext(File mainSettings, javax.servlet.ServletContext servletContext)
           
AnnoWebAppContext(javax.servlet.ServletContext servletContext)
           
AnnoWebAppContext(String mainSettings, javax.servlet.ServletContext servletContext)
           
AnnoWebAppContext(URI mainSettings, javax.servlet.ServletContext servletContext)
           
 
方法摘要
protected  WebEnvironment createEnvironment()
           
protected  com.google.inject.Injector createInjector(com.google.inject.Module[] guiceModules)
           
protected  void doBind(com.google.inject.Binder guiceBinder)
           
 javax.servlet.ServletContext getServletContext()
          获取ServletContext
protected  net.hasor.core.binder.AbstractApiBinder newApiBinder(net.hasor.core.module.ModulePropxy forModule, com.google.inject.Binder guiceBinder)
           
 
从类 net.hasor.core.context.AnnoStandardAppContext 继承的方法
initContext, loadModule
 
从类 net.hasor.core.context.StandardAppContext 继承的方法
getMainSettings
 
从类 net.hasor.core.context.AbstractAppContext 继承的方法
addGuiceModule, addModule, doInitialize, doStart, doStop, findBeanByType, findBeanByType, findClass, findProviderByType, findProviderByType, getBean, getBeanInfo, getBeanName, getBeanNames, getBeanType, getContext, getEnvironment, getEventManager, getGuice, getInstance, getModuleList, getModules, 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
 
从接口 net.hasor.core.AppContext 继承的方法
findBeanByType, findBeanByType, findClass, findProviderByType, findProviderByType, getBean, getBeanName, getBeanNames, getBeanType, getContext, getEnvironment, getEventManager, getGuice, getInstance, getModules, getSettings, getStartTime, isReady, isStart, start, stop
 

构造方法详细信息

AnnoWebAppContext

public AnnoWebAppContext(javax.servlet.ServletContext servletContext)
                  throws IOException,
                         URISyntaxException
抛出:
IOException
URISyntaxException

AnnoWebAppContext

public AnnoWebAppContext(String mainSettings,
                         javax.servlet.ServletContext servletContext)
                  throws IOException,
                         URISyntaxException
抛出:
IOException
URISyntaxException

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

指定者:
接口 WebAppContext 中的 getServletContext

createInjector

protected com.google.inject.Injector createInjector(com.google.inject.Module[] guiceModules)
覆盖:
net.hasor.core.context.AbstractAppContext 中的 createInjector

createEnvironment

protected WebEnvironment createEnvironment()
覆盖:
net.hasor.core.context.StandardAppContext 中的 createEnvironment

newApiBinder

protected net.hasor.core.binder.AbstractApiBinder newApiBinder(net.hasor.core.module.ModulePropxy forModule,
                                                               com.google.inject.Binder guiceBinder)
覆盖:
net.hasor.core.context.AbstractAppContext 中的 newApiBinder

doBind

protected void doBind(com.google.inject.Binder guiceBinder)
覆盖:
net.hasor.core.context.AbstractAppContext 中的 doBind


Copyright © 2013-2014. All Rights Reserved.