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
 
构造方法摘要
AnnoWebAppContext()
           
AnnoWebAppContext(File mainSettings)
           
AnnoWebAppContext(File mainSettings, javax.servlet.ServletContext servletContext)
           
AnnoWebAppContext(javax.servlet.ServletContext servletContext)
           
AnnoWebAppContext(String mainSettings)
           
AnnoWebAppContext(String mainSettings, javax.servlet.ServletContext servletContext)
           
AnnoWebAppContext(URI mainSettings)
           
AnnoWebAppContext(URI mainSettings, javax.servlet.ServletContext servletContext)
           
 
方法摘要
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.