com.ngMAT.servlet
クラス EZServletConfig

java.lang.Object
  |
  +--com.ngMAT.Common.ngmObject
        |
        +--com.ngMAT.servlet.EZServletConfig
すべての実装インタフェース:
java.lang.Cloneable, ngmObjectFunction, java.io.Serializable

public class EZServletConfig
extends ngmObject

Base class of each application configuration class. Application servlet must have its config class whose name is config. For example, if you code a servlet, 'a.b.CServlet', you have to make a config class 'a.b.CServletConfig' which is a sub class of EZServletCOnfig. This class and sub classes should handle the configuration of the servlets, i.e., loading property values on its, config's, instance variables. When init() is called, getProperty (String) is already available to retrieve the value you want from the properties file.

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

フィールドの概要
 java.lang.String ApplicationName
          アプリケーションサーブレットクラスのパッケージ名を含まない名称。
 java.lang.Class ContextClass
           
 java.lang.String ContextClassName
           
 boolean DebugMode
           
 java.lang.String ErrorHTMLString
           
 java.util.TimeZone my_timezone
           
static java.lang.String request_charcterset_convert_from
           
 java.lang.String request_charcterset_convert_type
           
 java.lang.String servlet_charcterset
           
 java.lang.String TemplateFolder
           
 
インタフェース com.ngMAT.Common.ngmObjectFunction から継承したフィールド
C_BACKSLASH, C_BLOCK_CLOSE, C_BLOCK_OPEN, C_COMMA, C_CR, C_DOUBLE_QUATATION, C_EQUAL, C_LF, C_SINGLE_QUATATION, C_SPACE, C_TAB, S_BACKSLASH, S_BLOCK_CLOSE, S_BLOCK_OPEN, S_COMMA, S_CR, S_CRLF, S_DOUBLE_QUATATION, S_EQUAL, S_LF, S_SINGLE_QUATATION, S_SPACE, S_TAB
 
コンストラクタの概要
EZServletConfig()
           
 
メソッドの概要
protected  int getIntProperty(java.lang.String name)
          Service method to get int value of property.
protected  long getLongProperty(java.lang.String name)
          Service method to get long value of property.
 EZServlet getServlet()
          Returns the servlet which uses this instance.
protected  HTMLTemplate getTemplate(java.lang.String name)
           
 void init()
          You can overides to set up your configurations, and your don't have to call super.init().
 
クラス com.ngMAT.Common.ngmObject から継承したメソッド
clone, debug, debug, equals_n, getLog, getProperties, getProperty, setLog, setNgmObject, setProperties
 
クラス java.lang.Object から継承したメソッド
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

ApplicationName

public java.lang.String ApplicationName
アプリケーションサーブレットクラスのパッケージ名を含まない名称。

DebugMode

public boolean DebugMode

TemplateFolder

public java.lang.String TemplateFolder

ContextClassName

public java.lang.String ContextClassName

ContextClass

public java.lang.Class ContextClass

ErrorHTMLString

public java.lang.String ErrorHTMLString

request_charcterset_convert_from

public static final java.lang.String request_charcterset_convert_from

request_charcterset_convert_type

public java.lang.String request_charcterset_convert_type

servlet_charcterset

public java.lang.String servlet_charcterset

my_timezone

public java.util.TimeZone my_timezone
コンストラクタの詳細

EZServletConfig

public EZServletConfig()
メソッドの詳細

init

public void init()
You can overides to set up your configurations, and your don't have to call super.init(). It's empty method.

getServlet

public EZServlet getServlet()
Returns the servlet which uses this instance.

getIntProperty

protected int getIntProperty(java.lang.String name)
Service method to get int value of property.

getLongProperty

protected long getLongProperty(java.lang.String name)
Service method to get long value of property.

getTemplate

protected HTMLTemplate getTemplate(java.lang.String name)


バグや機能要求の報告
最新の情報
Copyright 2000 - ngMAT Corporation