org.seasar.framework.container.servlet
クラス S2ContainerServlet

java.lang.Object
  拡張javax.servlet.GenericServlet
      拡張javax.servlet.http.HttpServlet
          拡張org.seasar.framework.container.servlet.S2ContainerServlet
すべての実装インタフェース:
Serializable, Servlet, ServletConfig
直系の既知のサブクラス:
PortletExtendedS2ContainerServlet

public class S2ContainerServlet
extends HttpServlet

関連項目:
直列化された形式

フィールドの概要
static String COMMAND
           
static String CONFIG_PATH_KEY
           
static String DEBUG_KEY
           
static String LIST
           
static String MODE_BEGIN
           
static String MODE_END
           
static String PATH
           
static String RESTART
           
 
コンストラクタの概要
S2ContainerServlet()
           
 
メソッドの概要
static void clearInstance()
           
 void destroy()
           
 void doGet(HttpServletRequest request, HttpServletResponse response)
           
protected  String escape(String text)
           
protected  ComponentDef getChildComponentDef(Object o)
           
static S2Container getContainer()
           
protected  S2Container getContainer(String path)
           
static S2ContainerServlet getInstance()
           
 void init()
           
protected  void initializeContainer(String configPath)
           
protected  void list(HttpServletRequest request, HttpServletResponse response)
           
protected  void listComponent(S2Container container, PrintWriter out)
           
protected  void listInclude(S2Container container, HttpServletRequest request, PrintWriter out)
           
protected  void printArg(ArgDefAware cd, PrintWriter out)
           
protected  void printAspect(ComponentDef cd, PrintWriter out)
           
protected  void printComponent(ComponentDef cd, PrintWriter out)
           
protected  void printDestroyMethod(ComponentDef cd, PrintWriter out)
           
protected  void printInitMethod(ComponentDef cd, PrintWriter out)
           
protected  void printMethod(MethodDef md, PrintWriter out)
           
protected  void printProperty(ComponentDef cd, PrintWriter out)
           
 
クラス javax.servlet.http.HttpServlet から継承したメソッド
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
 
クラス javax.servlet.GenericServlet から継承したメソッド
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

CONFIG_PATH_KEY

public static final String CONFIG_PATH_KEY
関連項目:
定数フィールド値

DEBUG_KEY

public static final String DEBUG_KEY
関連項目:
定数フィールド値

COMMAND

public static final String COMMAND
関連項目:
定数フィールド値

RESTART

public static final String RESTART
関連項目:
定数フィールド値

LIST

public static final String LIST
関連項目:
定数フィールド値

PATH

public static final String PATH
関連項目:
定数フィールド値

MODE_BEGIN

public static final String MODE_BEGIN
関連項目:
定数フィールド値

MODE_END

public static final String MODE_END
関連項目:
定数フィールド値
コンストラクタの詳細

S2ContainerServlet

public S2ContainerServlet()
メソッドの詳細

getInstance

public static S2ContainerServlet getInstance()

clearInstance

public static void clearInstance()

init

public void init()

initializeContainer

protected void initializeContainer(String configPath)

destroy

public void destroy()

getContainer

public static S2Container getContainer()

doGet

public void doGet(HttpServletRequest request,
                  HttpServletResponse response)
           throws IOException,
                  ServletException
例外:
IOException
ServletException

list

protected void list(HttpServletRequest request,
                    HttpServletResponse response)
             throws IOException
例外:
IOException

getContainer

protected S2Container getContainer(String path)

listInclude

protected void listInclude(S2Container container,
                           HttpServletRequest request,
                           PrintWriter out)
                    throws IOException
例外:
IOException

listComponent

protected void listComponent(S2Container container,
                             PrintWriter out)
                      throws IOException
例外:
IOException

printComponent

protected void printComponent(ComponentDef cd,
                              PrintWriter out)
                       throws IOException
例外:
IOException

printArg

protected void printArg(ArgDefAware cd,
                        PrintWriter out)
                 throws IOException
例外:
IOException

printAspect

protected void printAspect(ComponentDef cd,
                           PrintWriter out)
                    throws IOException
例外:
IOException

printProperty

protected void printProperty(ComponentDef cd,
                             PrintWriter out)
                      throws IOException
例外:
IOException

printInitMethod

protected void printInitMethod(ComponentDef cd,
                               PrintWriter out)
                        throws IOException
例外:
IOException

printDestroyMethod

protected void printDestroyMethod(ComponentDef cd,
                                  PrintWriter out)
                           throws IOException
例外:
IOException

printMethod

protected void printMethod(MethodDef md,
                           PrintWriter out)
                    throws IOException
例外:
IOException

getChildComponentDef

protected ComponentDef getChildComponentDef(Object o)

escape

protected String escape(String text)


Copyright © 2004-2007 The Seasar Foundation. All Rights Reserved.