| com.tc.aspectwerkz.aspect.management.HasInstanceLevelAspect
HasInstanceLevelAspect | public interface HasInstanceLevelAspect (Code) | | Interface applied to a target class when it has instance level aspects (perInstance, perThis, perTarget)
Should NEVER be implemented by the user, but is applied to target classes by the weaver.
author: Jonas BonŽr |
Method Summary | |
Object | aw$bindAspect(Class aspectFactoryClass, Object aspect) | Object | aw$getAspect(Class aspectFactoryClass) Returns the instance level aspect given a specific aspect factory class, since we know that one aspect class
has one or more factory (due to qNames) and one factory acts for only one aspect qName. | boolean | aw$hasAspect(Class aspectFactoryClass) Cheks if the instance level aspect with the specific factory class was associated with the instance. |
aw$getAspect | Object aw$getAspect(Class aspectFactoryClass)(Code) | | Returns the instance level aspect given a specific aspect factory class, since we know that one aspect class
has one or more factory (due to qNames) and one factory acts for only one aspect qName.
Parameters: aspectFactoryClass - the aspect instance or null if no such aspect |
aw$hasAspect | boolean aw$hasAspect(Class aspectFactoryClass)(Code) | | Cheks if the instance level aspect with the specific factory class was associated with the instance.
Parameters: aspectFactoryClass - true in case the aspect was registers, false otherwise |
|
|