jp.maru.liquid.kernel.modules
クラス AbstractModule

java.lang.Object
  上位を拡張 jp.maru.liquid.kernel.modules.AbstractModule
すべての実装されたインタフェース:
Module
直系の既知のサブクラス:
ExecuteModule, HttpServerModule

abstract class AbstractModule
extends java.lang.Object
implements Module

Moduleの共通処理部を実装

バージョン:
1.0
作成者:
Kohji Tsujita

フィールドの概要
protected  ModuleInterceptor _interceptor
           
 
コンストラクタの概要
AbstractModule()
           
 
メソッドの概要
protected  void callPostProcess()
          ModuleInterceptorのpostProcessを呼び出す
protected  void callPreProcess()
          ModuleInterceptorのpreProcessを呼び出す
 Strategy getStrategy()
          インジェクトされたストラテジを返す
 void init()
          モジュールの初期化
 void setInterceptor(ModuleInterceptor interceptor)
          ModuleInterceptorをインジェクトする
 void setStrategy(Strategy strategy)
          ストラテジをインジェクトする インジェクトしない場合もあり
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
インタフェース jp.maru.liquid.kernel.modules.Module から継承されたメソッド
plug
 

フィールドの詳細

_interceptor

protected ModuleInterceptor _interceptor
コンストラクタの詳細

AbstractModule

AbstractModule()
メソッドの詳細

init

public void init()
インタフェース Module の記述:
モジュールの初期化

定義:
インタフェース Module 内の init

setStrategy

public void setStrategy(Strategy strategy)
インタフェース Module の記述:
ストラテジをインジェクトする インジェクトしない場合もあり

定義:
インタフェース Module 内の setStrategy
パラメータ:
strategy - ストラテジ

getStrategy

public Strategy getStrategy()
インタフェース Module の記述:
インジェクトされたストラテジを返す

定義:
インタフェース Module 内の getStrategy
戻り値:
セットされているストラテジ、なければnull

setInterceptor

public void setInterceptor(ModuleInterceptor interceptor)
インタフェース Module の記述:
ModuleInterceptorをインジェクトする

定義:
インタフェース Module 内の setInterceptor
パラメータ:
interceptor - ModuleInterceptor

callPreProcess

protected void callPreProcess()
ModuleInterceptorのpreProcessを呼び出す


callPostProcess

protected void callPostProcess()
ModuleInterceptorのpostProcessを呼び出す