com.fatwire.gst.foundation.controller.support
Class WebAppContext

java.lang.Object
  extended by com.fatwire.gst.foundation.controller.support.WebAppContext
All Implemented Interfaces:
AppContext
Direct Known Subclasses:
DefaultWebAppContext

public class WebAppContext
extends Object
implements AppContext


Field Summary
protected static Log LOG
           
static String WEB_CONTEXT_NAME
           
 
Constructor Summary
WebAppContext(javax.servlet.ServletContext context)
          Constructor with null parent.
WebAppContext(javax.servlet.ServletContext context, AppContext parent)
          This constructor is needed for the WebAppContextLoader.
 
Method Summary
<T> T
getBean(String name, Class<T> c)
           
 javax.servlet.ServletContext getServletContext()
           
 void init()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

protected static final Log LOG

WEB_CONTEXT_NAME

public static final String WEB_CONTEXT_NAME
See Also:
Constant Field Values
Constructor Detail

WebAppContext

public WebAppContext(javax.servlet.ServletContext context,
                     AppContext parent)
This constructor is needed for the WebAppContextLoader.

Parameters:
context -
parent -

WebAppContext

public WebAppContext(javax.servlet.ServletContext context)
Constructor with null parent.

Parameters:
context -
Method Detail

getBean

public final <T> T getBean(String name,
                           Class<T> c)
Specified by:
getBean in interface AppContext

getServletContext

public javax.servlet.ServletContext getServletContext()

init

public void init()
Specified by:
init in interface AppContext


Copyright © 2010-2013 Oracle Corporation. All Rights Reserved.