AOWP_AspectManager
public class AOWP_AspectManager
Field Summary | |
---|---|
final str | |
final str | |
final str | |
private mixed | |
private mixed |
Method Summary | |
---|---|
private void | _getAspectFilePath(mixed aspectName) |
private static void | _getAspectName(mixed filePath) |
private static void | _getRelativePathFromAspectFolder(mixed fullAspectPath) |
private static void | |
private static void | |
private static void | _insertAspectWithPriority(mixed aspect, mixed aspectInstanceArray) |
private static void | _serialize(mixed aspectManager) |
void | addAspectFilePath(mixed aspectName, mixed aspectFilePath) |
void | addWeaverGenerateAspectFilePath(mixed aspectName, mixed aspectFilePath) |
static void | |
static void | |
void | |
static void | getAspectFilePathAtWeaving(mixed aspectName) |
static void | |
static void | includeOnceAspect(mixed aspectName) |
static void |
public final str ASPECT_DEFINITION_FILE_PATERN = '/\.aspect\.php$/'
public final str SERIALIZATION_FILE_NAME = 'AOWP_AspectManager'
public final str WEAVER_GENERATE_ASPECT_FOLDER = 'aspects'
private mixed $_aspectFileMap = array()
private mixed $_weaverGenerateAspectFileMap = array()
private void _getAspectFilePath(mixed aspectName)
private static void _getAspectName(mixed filePath)
private static void _getRelativePathFromAspectFolder(mixed fullAspectPath)
private static void _getSerializationLocation()
private static void _getWeaverGenerateAspectFolderPath()
private static void _insertAspectWithPriority(mixed aspect, mixed aspectInstanceArray)
private static void _serialize(mixed aspectManager)
public void addAspectFilePath(mixed aspectName, mixed aspectFilePath)
public void addWeaverGenerateAspectFilePath(mixed aspectName, mixed aspectFilePath)
public static void clearCache()
public static void getAllAspects()
public void getAspectFileMap()
public static void getAspectFilePathAtWeaving(mixed aspectName)
public static void getInstance()
public static void includeOnceAspect(mixed aspectName)
public static void loadUserDefineAspect()
ユーザが定義したアスペクトのパス情報を管理し、指定した名前のアスペクトの定義ファイルのinclude処理を行います。 アスペクトのパス情報は、織り込み時に設定され、serialize関数を用いて保存されます。 実行時には、unserialize関数を用いて、織り込み時に作成したインスタンスを利用します。