|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.aspectwerkz.attribdef.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 |
ASPECT_CONTAINER_IMPLEMENTATION_CLASS
The aspect container class to use. |
static java.lang.String |
ASPECTWERKZ_HOME
The path to the aspectwerkz home directory. |
static java.lang.String |
DEFAULT_ASPECT_CONTAINER
The default aspect container class. |
static java.lang.String |
DEFAULT_DEFINITION_FILE
The name of the default aspectwerkz definition file. |
static java.lang.String |
DEFINITION_CLASS_NAME
The definition class name. |
static java.lang.String |
DEFINITION_FILE
The path to the definition file. |
Method Summary | |
static AspectContainer |
createAspectContainer(Aspect aspect)
Creates a new container for the aspect. |
static void |
initializeSystem(java.lang.String uuid,
AspectWerkzDefinition definition)
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_ASPECT_CONTAINER
public static final java.lang.String ASPECT_CONTAINER_IMPLEMENTATION_CLASS
Method Detail |
public static void initializeSystem(java.lang.String uuid, AspectWerkzDefinition definition)
uuid
- the UUID for the weave model to loaddefinition
- the definition for the systempublic static AspectContainer createAspectContainer(Aspect aspect)
aspect
- the aspect's implementation class
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |