|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.aspectwerkz.definition.StartupManager
Manages the startup procedure, walks through the definition and instantiates the aspects/advices/introduction/pointcuts.
Reads the definition, either as a class of as an XML file. To use your XML definition file pass-Daspectwerkz.definition.file=PathToFile
as parameter to the JVM.
If the above given parameter is not specified, the StartupManager
tries locate a file called aspectwerkz.xml
in the classpath
and if this fails the last attempt is to use the
ASPECTWERKZ_HOME/config/aspectwerkz.xml
file (if there is one).
Field Summary | |
static java.lang.String |
ADVICE_CONTAINER_IMPLEMENTATION_CLASS
The advice container class to use. |
static java.lang.String |
ASPECTWERKZ_HOME
The path to the aspectwerkz home directory. |
static java.lang.String |
DEFAULT_ADVICE_CONTAINER
The default advice container class. |
static java.lang.String |
DEFAULT_DEFINITION_FILE
The name of the default aspectwerkz definition file. |
static java.lang.String |
DEFAULT_INTRODUCTION_CONTAINER
The default introduction container class. |
static java.lang.String |
DEFINITION_CLASS_NAME
The definition class name. |
static java.lang.String |
DEFINITION_FILE
The path to the definition file. |
static java.lang.String |
INTRODUCTION_CONTAINER_IMPLEMENTATION_CLASS
The introduction container class to use. |
Method Summary | |
static AdviceContainer |
createAdviceContainer(AbstractAdvice prototype)
Creates a new container for the advice. |
static IntroductionContainer |
createIntroductionContainer(java.lang.Class implClass)
Creates a new container for the introduction. |
static void |
initializeSystem(java.lang.String uuid)
Loads the system definition. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String ASPECTWERKZ_HOME
public static final java.lang.String DEFINITION_FILE
public static final java.lang.String DEFINITION_CLASS_NAME
public static final java.lang.String DEFAULT_DEFINITION_FILE
public static final java.lang.String DEFAULT_INTRODUCTION_CONTAINER
public static final java.lang.String DEFAULT_ADVICE_CONTAINER
public static final java.lang.String INTRODUCTION_CONTAINER_IMPLEMENTATION_CLASS
public static final java.lang.String ADVICE_CONTAINER_IMPLEMENTATION_CLASS
Method Detail |
public static void initializeSystem(java.lang.String uuid)
uuid
- the UUID for the weave model to loadpublic static IntroductionContainer createIntroductionContainer(java.lang.Class implClass)
implClass
- the introduction's implementation classpublic static AdviceContainer createAdviceContainer(AbstractAdvice prototype)
prototype
- the advice's prototype
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |