| java.lang.Object com.tc.aspectwerkz.perx.PerObjectAspect
PerObjectAspect | public class PerObjectAspect (Code) | | Generic aspect used by perX deployment modes to initialize the aspect instance.
It gets registered programatically when finding perX aspects.
fake
author: Alexandru Popescu |
ADVICE_ARGUMENT_NAME | final public static String ADVICE_ARGUMENT_NAME(Code) | | Name of the advice argument where we bound the perX X instance.
|
PEROBJECT_ASPECT_NAME | final public static String PEROBJECT_ASPECT_NAME(Code) | | PerObjectAspect class name
|
PerObjectAspect | public PerObjectAspect(AspectContext ctx)(Code) | | PerObjectAspect constructor.
We keep track of the aspectQname and container class name to further call Aspects.aspectOf
Parameters: ctx - |
beforePerObject | public void beforePerObject(HasInstanceLevelAspect aw_instance)(Code) | | Before perPointcut && this/target(targetInstance) bound that will associate the aspect and the instance.
Note: do not refactor the names here without refactoring the constants.
|
getAspectDefinition | public static AspectDefinition getAspectDefinition(SystemDefinition systemDefinition, AspectDefinition aspectDefinition)(Code) | | Creates the generic AspectDefinition for the PerObjectAspect
Parameters: systemDefinition - Parameters: aspectDefinition - definition for the perObjectAspect for the given perX aspect |
|
|