View Javadoc

1   package com.atlassian.plugin.refimpl.servlet;
2   
3   import com.atlassian.plugin.refimpl.ContainerManager;
4   import com.atlassian.plugin.servlet.ServletModuleContainerServlet;
5   import com.atlassian.plugin.servlet.ServletModuleManager;
6   
7   /**
8    * This is a simple example of the {@link ServletModuleContainerServlet}.  It uses the static 
9    * {@link ContainerManager} to lookup the appropriate {@link ServletModuleManager}.  Other applications should use 
10   * their specific method of getting a reference to the {@link ServletModuleManager} and returning it. 
11   */
12  public class SimpleContainerServlet extends ServletModuleContainerServlet
13  {    
14      protected ServletModuleManager getServletModuleManager()
15      {
16          return ContainerManager.getInstance().getServletModuleManager();
17      }
18  }