Scoping and Injection of AOP constructs
Scoping and Injection of AOP constructs Whether an Advisor, InstanceAdvisor or Joinpoint exists for an aspect/interceptor depends on the scope. The following table shows what can be injected for the different scopes. Scope\AOP construct Advisor InstanceAdvisor Joinpoint PER_VM no no no PER_CLASS yes no no PER_INSTANCE yes*) yes*) no PER_JOINPOINT yes yes*) yes (The ones marked with *) are not available when invoking a static method or reading/writing a static field.)