net.sf.saffron.web.servlet
Class WaldenServlet.Context

java.lang.Object
  |
  +--net.sf.saffron.web.servlet.WaldenServlet.Context
Enclosing class:
WaldenServlet

static class WaldenServlet.Context
extends Object

Holds the context required by WaldenServlet.


Field Summary
private static String ATTRNAME
           
private  ServletContext context
           
 
Constructor Summary
(package private) WaldenServlet.Context()
          Creates a Context.
 
Method Summary
 void destroy(ServletContextEvent event)
           
static WaldenServlet.Context getInstance(ServletContext context)
          Retrieves the one and only instance of Context in this servlet's httpSession.
 void init(ServletContextEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ATTRNAME

private static final String ATTRNAME
See Also:
Constant Field Values

context

private ServletContext context
Constructor Detail

WaldenServlet.Context

WaldenServlet.Context()
Creates a Context. Only WaldenListener calls this; you should probably call getInstance(ServletContext).

Method Detail

getInstance

public static WaldenServlet.Context getInstance(ServletContext context)
Retrieves the one and only instance of Context in this servlet's httpSession.


destroy

public void destroy(ServletContextEvent event)

init

public void init(ServletContextEvent event)

SourceForge.net_Logo