|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.apache.struts.config.DataSourceConfig
A JavaBean representing the configuration information of a
<data-source> element from a Struts
configuration file.
WARNING - The properties of this configuration bean are recognized by the default data source implementation, but some or all of them may be ignored by custom data source implementations.
| フィールドの概要 | |
protected boolean |
configured
Has this component been completely configured? |
protected java.lang.String |
key
The servlet context attribute key under which this data source is stored and made available. |
protected java.util.HashMap |
properties
The custom configuration properties for this data source implementation. |
protected java.lang.String |
type
The fully qualified class name of the javax.sql.DataSource
implementation class. |
| コンストラクタの概要 | |
DataSourceConfig()
|
|
| メソッドの概要 | |
void |
addProperty(java.lang.String name,
java.lang.String value)
Add a new custom configuration property. |
void |
freeze()
Freeze the configuration of this data source. |
java.lang.String |
getKey()
|
java.util.Map |
getProperties()
|
java.lang.String |
getType()
|
void |
setKey(java.lang.String key)
|
void |
setType(java.lang.String type)
|
java.lang.String |
toString()
Return a String representation of this object. |
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| フィールドの詳細 |
protected boolean configured
protected java.lang.String key
protected java.util.HashMap properties
protected java.lang.String type
javax.sql.DataSource
implementation class.
| コンストラクタの詳細 |
public DataSourceConfig()
| メソッドの詳細 |
public java.lang.String getKey()
public void setKey(java.lang.String key)
public java.util.Map getProperties()
public java.lang.String getType()
public void setType(java.lang.String type)
public void addProperty(java.lang.String name,
java.lang.String value)
name - Custom property namevalue - Custom property valuepublic void freeze()
public java.lang.String toString()
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||