|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.seasar.framework.container.autoregister.AbstractAutoRegister
org.seasar.framework.container.autoregister.AbstractComponentAutoRegister
org.seasar.framework.container.autoregister.ComponentAutoRegister
jarファイルに含まれているあるいはファイルシステム上(WEBINF/classesとか)にあるコンポーネントを自動登録するためのクラスです。
入れ子クラスの概要 | |
protected class |
ComponentAutoRegister.CodeSourceFileStrategy
OC4J固有の code-source: プロトコルで表現されるURLをサポートするストラテジです。 |
protected class |
ComponentAutoRegister.FileSystemStrategy
ファイルシステム用の ComponentAutoRegister.Strategy です。 |
protected class |
ComponentAutoRegister.JarFileStrategy
jarファイル用の ComponentAutoRegister.Strategy です。 |
protected static interface |
ComponentAutoRegister.Strategy
プロトコルに応じた自動登録のストラテジです。 |
protected class |
ComponentAutoRegister.ZipFileStrategy
WebLogic固有の zip: プロトコルで表現されるURLをサポートするストラテジです。 |
フィールドの概要 | |
protected List |
referenceClasses
参照するクラスのリストです。 |
protected Map |
strategies
ComponentAutoRegister.Strategy の集合です。 |
クラス org.seasar.framework.container.autoregister.AbstractComponentAutoRegister から継承したフィールド |
autoBindingDef_BINDING, autoNaming_BINDING, CLASS_SUFFIX, customizer_BINDING, instanceDef_BINDING |
クラス org.seasar.framework.container.autoregister.AbstractAutoRegister から継承したフィールド |
INIT_METHOD |
コンストラクタの概要 | |
ComponentAutoRegister()
デフォルトのコンストラクタです。 |
メソッドの概要 | |
void |
addReferenceClass(Class referenceClass)
jarファイルに含まれているクラスを追加します。 |
void |
addStrategy(String protocol,
ComponentAutoRegister.Strategy strategy)
file, jarなどのプロトコルに応じたストラテジを追加します。 |
ComponentAutoRegister.Strategy |
getStrategy(String protocol)
ストラテジを返します。 |
void |
registerAll()
自動登録を行います。 |
クラス org.seasar.framework.container.autoregister.AbstractComponentAutoRegister から継承したメソッド |
customize, getAutoBindingDef, getAutoNaming, getCustomizer, getInstanceDef, getTargetPackages, isExternalBinding, processClass, register, setAutoBindingDef, setAutoNaming, setCustomizer, setExternalBinding, setInstanceDef |
クラス org.seasar.framework.container.autoregister.AbstractAutoRegister から継承したメソッド |
addClassPattern, addClassPattern, addIgnoreClassPattern, addIgnoreClassPattern, findComponentDef, getClassPattern, getClassPatternSize, getContainer, hasComponentDef, isIgnore, setContainer |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
インタフェース org.seasar.framework.util.ClassTraversal.ClassHandler から継承したメソッド |
processClass |
フィールドの詳細 |
protected List referenceClasses
protected Map strategies
ComponentAutoRegister.Strategy
の集合です。
コンストラクタの詳細 |
public ComponentAutoRegister()
メソッドの詳細 |
public void addReferenceClass(Class referenceClass)
referenceClass
- public void addStrategy(String protocol, ComponentAutoRegister.Strategy strategy)
protocol
- strategy
- public ComponentAutoRegister.Strategy getStrategy(String protocol)
protocol
-
public void registerAll()
AbstractAutoRegister
の記述:
AbstractAutoRegister
内の registerAll
|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |