org.seasar.cubby.controller.impl
クラス ClassDetectorImpl

java.lang.Object
  上位を拡張 org.seasar.framework.container.cooldeploy.CoolComponentAutoRegister
      上位を拡張 org.seasar.cubby.controller.impl.ClassDetectorImpl
すべての実装されたインタフェース:
ClassDetector, ClassTraversal.ClassHandler, Disposable

public class ClassDetectorImpl
extends CoolComponentAutoRegister
implements ClassDetector, Disposable

クラスパスを走査してクラスを検出するクラスの実装です。

Cool Deploy の挙動と合わせるため、CoolComponentAutoRegister を継承しています。

導入されたバージョン:
1.1.0
作成者:
baba

入れ子のクラスの概要
 
クラス org.seasar.framework.container.cooldeploy.CoolComponentAutoRegister から継承された入れ子のクラス/インタフェース
CoolComponentAutoRegister.CodeSourceFileStrategy, CoolComponentAutoRegister.FileSystemStrategy, CoolComponentAutoRegister.JarFileStrategy, CoolComponentAutoRegister.Strategy, CoolComponentAutoRegister.ZipFileStrategy
 
フィールドの概要
static String INIT_METHOD
          スーパークラスの初期化メソッドをクリアします。
 
クラス org.seasar.framework.container.cooldeploy.CoolComponentAutoRegister から継承されたフィールド
container_BINDING
 
コンストラクタの概要
ClassDetectorImpl()
           
 
メソッドの概要
protected  ComponentDef createComponentDef(Class componentClass)
          
 void detect()
          クラスの検出を開始します。
 void dispose()
          
 void processClass(String packageName, String shortClassName)
          
 
クラス org.seasar.framework.container.cooldeploy.CoolComponentAutoRegister から継承されたメソッド
addStrategy, getContainer, getCreators, getNamingConvention, getStrategies, getStrategy, registerAll, setContainer, setCreators, setNamingConvention, webSphereClassLoaderFix
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

INIT_METHOD

public static final String INIT_METHOD
スーパークラスの初期化メソッドをクリアします。

コンストラクタの詳細

ClassDetectorImpl

public ClassDetectorImpl()
メソッドの詳細

processClass

public void processClass(String packageName,
                         String shortClassName)

定義:
インタフェース ClassTraversal.ClassHandler 内の processClass
オーバーライド:
クラス CoolComponentAutoRegister 内の processClass

detect

public void detect()
クラスの検出を開始します。

定義:
インタフェース ClassDetector 内の detect

dispose

public void dispose()

定義:
インタフェース Disposable 内の dispose

createComponentDef

protected ComponentDef createComponentDef(Class componentClass)

オーバーライド:
クラス CoolComponentAutoRegister 内の createComponentDef


Copyright © 2006-2009 The Seasar Foundation. All Rights Reserved.