public class DefaultVirtualComponentFactory extends java.lang.Object implements VirtualComponentFactory
KEY_VirtualComponentFactory
コンストラクタと説明 |
---|
DefaultVirtualComponentFactory()
コンストラクタ
|
修飾子とタイプ | メソッドと説明 |
---|---|
protected void |
createClassTable()
Factoryが生成する各クラスの情報テーブルを作成する
|
VirtualComponent |
createComponent(ComponentDefinition cd)
コンポーネント定義を元に仮想コンポーネントインスタンスを生成する
|
protected java.lang.Class |
getComponentImplementClass(ComponentDefinition cd)
仮想コンポーネントの実装クラスを取得する
|
protected java.lang.Class |
getDefaultComponentClass(java.lang.String name)
デフォルトの仮想コンポーネント実装クラスを取得する
|
protected java.lang.String |
nextComponentInstanceID()
ユニークなコンポーネントインスタンスIDを生成する
|
public VirtualComponent createComponent(ComponentDefinition cd)
createComponent
インタフェース内 VirtualComponentFactory
cd
- コンポーネント定義オブジェクトprotected java.lang.Class getComponentImplementClass(ComponentDefinition cd) throws java.lang.ClassNotFoundException
cd
- コンポーネント定義java.lang.ClassNotFoundException
- 指定されたクラスが見つからないprotected java.lang.Class getDefaultComponentClass(java.lang.String name)
name
- コンポーネント名protected void createClassTable()
pr
- protected java.lang.String nextComponentInstanceID()