jrun.servlet
Class JRunServletContext
jrun.servlet.JRunServletContext
- public class JRunServletContext
initialized
protected boolean initialized
JRunServletContext
public JRunServletContext(WebApplication webapp)
start
public void start()
getWebApplication
public WebApplication getWebApplication()
loadInitParams
protected void loadInitParams()
getAttribute
public java.lang.Object getAttribute(java.lang.String name)
getAttributeNames
public java.util.Enumeration getAttributeNames()
getContext
public javax.servlet.ServletContext getContext(java.lang.String uripath)
getInitParameter
public java.lang.String getInitParameter(java.lang.String name)
getInitParameterNames
public java.util.Enumeration getInitParameterNames()
getMajorVersion
public int getMajorVersion()
getMimeType
public java.lang.String getMimeType(java.lang.String file)
getMinorVersion
public int getMinorVersion()
getNamedDispatcher
public javax.servlet.RequestDispatcher getNamedDispatcher(java.lang.String name)
getRealPath
public java.lang.String getRealPath(java.lang.String path)
getRequestDispatcher
public javax.servlet.RequestDispatcher getRequestDispatcher(java.lang.String path)
getResource
public java.net.URL getResource(java.lang.String path)
getResourceAsStream
public java.io.InputStream getResourceAsStream(java.lang.String path)
getServerInfo
public java.lang.String getServerInfo()
getServlet
public jrun.servlet.Servlet getServlet(java.lang.String name)
getServletNames
public java.util.Enumeration getServletNames()
getServlets
public java.util.Enumeration getServlets()
log
public void log(java.lang.Exception ex,
java.lang.String msg)
log
public void log(java.lang.String msg)
log
public void log(java.lang.String msg,
java.lang.Throwable t)
removeAttribute
public void removeAttribute(java.lang.String name)
setAttribute
public void setAttribute(java.lang.String name,
java.lang.Object o)
getResourcePaths
public java.util.Set getResourcePaths(java.lang.String path)
stop
public void stop()
- Destroys the servlet context. This will cause any attributes bound into the
context to be removed.
getServletContextName
public java.lang.String getServletContextName()
fireContextInitializedEvent
protected void fireContextInitializedEvent()
- Fire a contextInitialized event to all of the ServletContextListener
instances
fireContextDestroyedEvent
protected void fireContextDestroyedEvent()
- Fire a contextDestroyed event to all of the ServletContextListener
instances
fireContextAttributeAdded
protected void fireContextAttributeAdded(java.lang.String name,
java.lang.Object value)
fireContextAttributeRemoved
protected void fireContextAttributeRemoved(java.lang.String name,
java.lang.Object oldValue)
fireContextAttributeReplaced
protected void fireContextAttributeReplaced(java.lang.String name,
java.lang.Object value)
Copyright � 2002 Macromedia Corporation. All Rights Reserved.