java.lang.Object | |
↳ | org.springframework.aop.aspectj.DeclareParentsAdvisor |
Introduction advisor delegating to the given object. Implements AspectJ annotation-style behavior for the DeclareParents annotation.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a new advisor for this DeclareParents field.
| |||||||||||
Create a new advisor for this DeclareParents field.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Return the advice part of this aspect.
| |||||||||||
Return the filter determining which target classes this introduction
should apply to.
| |||||||||||
Return the additional interfaces introduced by this Advisor or Advice.
| |||||||||||
Return whether this advice is associated with a particular instance
(for example, creating a mixin) or shared with all instances of
the advised class obtained from the same Spring bean factory.
| |||||||||||
Can the advised interfaces be implemented by the introduction advice?
Invoked before adding an IntroductionAdvisor.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.aop.Advisor
| |||||||||||
From interface
org.springframework.aop.IntroductionAdvisor
| |||||||||||
From interface
org.springframework.aop.IntroductionInfo
|
Create a new advisor for this DeclareParents field.
interfaceType | static field defining the introduction |
---|---|
typePattern | type pattern the introduction is restricted to |
defaultImpl | the default implementation class |
Create a new advisor for this DeclareParents field.
interfaceType | static field defining the introduction |
---|---|
typePattern | type pattern the introduction is restricted to |
delegateRef | the delegate implementation object |
Return the advice part of this aspect. An advice may be an interceptor, a before advice, a throws advice, etc.
Return the filter determining which target classes this introduction should apply to.
This represents the class part of a pointcut. Note that method matching doesn't make sense to introductions.
Return the additional interfaces introduced by this Advisor or Advice.
Return whether this advice is associated with a particular instance (for example, creating a mixin) or shared with all instances of the advised class obtained from the same Spring bean factory.
Note that this method is not currently used by the framework.
Typical Advisor implementations always return true
.
Use singleton/prototype bean definitions or appropriate programmatic
proxy creation to ensure that Advisors have the correct lifecycle model.
Can the advised interfaces be implemented by the introduction advice? Invoked before adding an IntroductionAdvisor.
IllegalArgumentException |
---|