| |
|
| java.lang.Object org.codehaus.aspectwerkz.definition.SystemDefinitionContainer
SystemDefinitionContainer | public class SystemDefinitionContainer (Code) | | The SystemDefintionContainer maintains all the definition and is aware of the classloader hierarchy. A
ThreadLocal structure is used during weaving to store current classloader defintion hierarchy. Due to
getResources() API, we maintain a perClassLoader loaded resource list so that it contains only resource defined
within the classloader and not its parent.
author: Alexandre Vasseur |
AOP_META_INF_XML_FILE | final public static String AOP_META_INF_XML_FILE(Code) | | The AOP deployment descriptor for any deployed unit Note: Tomcat 5 does not handles war/META-INF
|
AOP_WEB_INF_XML_FILE | final public static String AOP_WEB_INF_XML_FILE(Code) | | The AOP deployment descriptor for any deployed unit in a webapp TODO for EAR/EJB/JCA stuff
|
URL_JVM_OPTION_SYSTEM | final public static String URL_JVM_OPTION_SYSTEM(Code) | | Default location for default AspectWerkz definition file, JVM wide
|
WEB_WEB_INF_XML_FILE | final public static String WEB_WEB_INF_XML_FILE(Code) | | |
s_classLoaderDefinitionLocations | final public static Map s_classLoaderDefinitionLocations(Code) | | Map of SystemDefinition location (as URL[List]) per ClassLoader
NOTE: null key is supported
|
s_classLoaderHierarchicalSystemDefinitions | public static Map s_classLoaderHierarchicalSystemDefinitions(Code) | | Map of SystemDefinition[List] per ClassLoader, with the hierarchy structure
NOTE: null key is supported
|
s_classLoaderSystemDefinitions | final public static Map s_classLoaderSystemDefinitions(Code) | | Map of SystemDefinition[List] per ClassLoader.
NOTE: null key is supported
|
deployDefinitions | public static void deployDefinitions(ClassLoader loader, Set definitions)(Code) | | Hotdeploy a list of SystemDefintions as defined at the level of the given ClassLoader
Note: this is used for Offline mode.
Parameters: loader - ClassLoader Parameters: definitions - SystemDefinitions list |
disableSystemWideDefinition | public static void disableSystemWideDefinition()(Code) | | Turns on the option to avoid -Daspectwerkz.definition.file handling.
|
getDefinitionFor | public static SystemDefinition getDefinitionFor(ClassLoader loader, String uuid)(Code) | | Lookup for a given SystemDefinition by uuid within a given ClassLoader.
The lookup does go thru the ClassLoader hierarchy
Parameters: loader - ClassLoader Parameters: uuid - system uuid SystemDefinition or null if no such defined definition |
getDefinitionsAt | public static Set getDefinitionsAt(ClassLoader loader)(Code) | | Return the list of SystemDefinitions defined at the given ClassLoader level.
It does NOT handle the ClassLoader hierarchy.
Parameters: loader - SystemDefinitions list |
getDefinitionsFor | public static Set getDefinitionsFor(ClassLoader loader)(Code) | | Return the list of SystemDefinitions visible at the given ClassLoader level.
It does handle the ClassLoader hierarchy.
Parameters: loader - SystemDefinitions list |
getVirtualDefinitionAt | public static SystemDefinition getVirtualDefinitionAt(ClassLoader loader)(Code) | | Returns the virtual system for the class loader specified.
There is ONE and ONLY ONE virtual system per classloader ie several per classloader
hierachy. This definition hosts hotdeployed aspects. This method returns the
one corresponding to the given classloader only.
Parameters: loader - the class loader the virtual system |
getVirtualDefinitionUuid | public static String getVirtualDefinitionUuid(ClassLoader loader)(Code) | | Returns the uuid for the virtual system definition for the given classloader
Parameters: loader - |
|
|
|