|
|||||||||||
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 String |
DEFAULT_ASPECT_CONTAINER
The default aspect container class. |
Method Summary | |
static AspectContainer |
createAspectContainer(CrossCuttingInfo crossCuttingInfo)
Creates a new aspect container. |
static void |
initializeSystem(AspectManager aspectManager,
SystemDefinition definition)
Loads the system definition. |
static void |
reinitializeSystem(ClassLoader loader,
SystemDefinition definition)
ReLoads the system definition. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String DEFAULT_ASPECT_CONTAINER
Method Detail |
public static void initializeSystem(AspectManager aspectManager, SystemDefinition definition)
aspectManager
- the aspectManager for the systemdefinition
- the definition for the systempublic static void reinitializeSystem(ClassLoader loader, SystemDefinition definition)
loader
- the class loaderdefinition
- the definition for the systempublic static AspectContainer createAspectContainer(CrossCuttingInfo crossCuttingInfo)
crossCuttingInfo
- the cross-cutting info for the aspect
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |