|
|||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||
java.lang.Objectorg.seasar.framework.container.autoregister.AbstractAutoNaming
AutoNamingの抽象クラスです。
| フィールドの概要 | |
protected static String |
BEAN
|
protected Map |
customizedNames
|
protected boolean |
decapitalize
|
protected static String |
IMPL
|
protected Map |
replaceRules
|
| コンストラクタの概要 | |
AbstractAutoNaming()
デフォルトのコンストラクタです。 |
|
| メソッドの概要 | |
void |
addIgnoreClassSuffix(String classSuffix)
コンポーネント名から取り除くサフィックスを追加します。 |
void |
addReplaceRule(String regex,
String replacement)
コンポーネント名を置き換えるためのルールを追加します。 |
protected String |
applyRule(String name)
|
void |
clearReplaceRule()
コンポーネント名を置き換えるためのルールをクリアします。 |
String |
defineName(String packageName,
String shortClassName)
コンポーネント名を定義します。 |
protected String |
getCustomizedName(String packageName,
String shortClassName)
|
protected abstract String |
makeDefineName(String packageName,
String shortClassName)
|
protected String |
normalize(String name)
|
void |
setCustomizedName(String fqcn,
String name)
AutoNamingのルールにあわない場合に、FQCNに対するコンポーネント名を設定します。 |
void |
setDecapitalize(boolean decapitalize)
コンポーネント名をデキャピタライズするかどうかを設定します。 |
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
protected static final String IMPL
protected static final String BEAN
protected boolean decapitalize
protected Map customizedNames
protected Map replaceRules
| コンストラクタの詳細 |
public AbstractAutoNaming()
| メソッドの詳細 |
public void setCustomizedName(String fqcn,
String name)
fqcn - name - public void addIgnoreClassSuffix(String classSuffix)
classSuffix -
public void addReplaceRule(String regex,
String replacement)
regex - replacement - public void clearReplaceRule()
public void setDecapitalize(boolean decapitalize)
decapitalize -
public String defineName(String packageName,
String shortClassName)
AutoNaming の記述:
AutoNaming 内の defineNamepackageName - shortClassName -
protected String getCustomizedName(String packageName,
String shortClassName)
protected abstract String makeDefineName(String packageName,
String shortClassName)
protected String applyRule(String name)
protected String normalize(String name)
|
|||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||