org.ofbiz.webslinger
Class WebslingerContextMapper

java.lang.Object
  extended by AbstractMappingWebslingerServletContextFactory
      extended by org.ofbiz.webslinger.WebslingerContextMapper

public class WebslingerContextMapper
extends AbstractMappingWebslingerServletContextFactory


Nested Class Summary
protected  class WebslingerContextMapper.OfbizLayout
           
 
Field Summary
protected  GenericDelegator delegator
           
protected  java.util.ArrayList<java.net.URL> globalReaderURLs
           
protected  ServletContext servletContext
           
 
Constructor Summary
WebslingerContextMapper()
           
 
Method Summary
protected  LocalDispatcher createLocalDispatcher(WebslingerServletContext context, java.lang.String name, GenericDelegator delegator)
           
protected  Layout[] getStartLayouts()
           
protected  java.util.Set<java.lang.String> getSuffixes()
           
 void init(ServletConfig config)
           
protected  void initializeContext(WebslingerServletContext context, Layout layout)
           
 void initializeRequest(WebslingerServletContext context, HttpServletRequest request)
           
protected  Layout lookupLayout(java.lang.String hostName, java.lang.String contextPath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

servletContext

protected ServletContext servletContext

delegator

protected GenericDelegator delegator

globalReaderURLs

protected final java.util.ArrayList<java.net.URL> globalReaderURLs
Constructor Detail

WebslingerContextMapper

public WebslingerContextMapper()
Method Detail

init

public void init(ServletConfig config)
          throws ServletException,
                 java.io.IOException
Throws:
ServletException
java.io.IOException

getStartLayouts

protected Layout[] getStartLayouts()
                            throws java.lang.Exception
Throws:
java.lang.Exception

initializeRequest

public void initializeRequest(WebslingerServletContext context,
                              HttpServletRequest request)

initializeContext

protected void initializeContext(WebslingerServletContext context,
                                 Layout layout)
                          throws java.lang.Exception
Throws:
java.lang.Exception

createLocalDispatcher

protected LocalDispatcher createLocalDispatcher(WebslingerServletContext context,
                                                java.lang.String name,
                                                GenericDelegator delegator)
                                         throws java.io.IOException
Throws:
java.io.IOException

getSuffixes

protected java.util.Set<java.lang.String> getSuffixes()
                                               throws java.lang.Exception
Throws:
java.lang.Exception

lookupLayout

protected Layout lookupLayout(java.lang.String hostName,
                              java.lang.String contextPath)
                       throws java.lang.Exception
Throws:
java.lang.Exception