Method | Description | |
---|---|---|
AbstractAdvisorAutoProxyCreator ( ) : System |
Initialize
|
|
CreateAdvisorRetrievalHelper ( IConfigurableListableObjectFactory objectFactory ) : IAdvisorRetrievalHelper |
Create the IAdvisorRetrievalHelper for retrieving the list of applicable advisor objects. The default implementation calls back into IsEligibleAdvisorObject thus it usually is sufficient to just override IsEligibleAdvisorObject. Override CreateAdvisorRetrievalHelper only if you know what you are doing!
|
|
ExtendAdvisors ( IList |
Extension hook that subclasses can override to add additional advisors for the given object, given the sorted advisors obtained to date. The advisor list passed into this method is already reduced to advisors applying to this particular object. If you want to register additional common advisor candidates, override FindCandidateAdvisors. |
|
FindAdvisorsThatCanApply ( IList |
From the given list of candidate advisors, select the ones that are applicable to the given target specified by targetType and name.
|
|
FindCandidateAdvisors ( |
Find all possible advisor candidates to use in auto-proxying
|
|
FindEligibleAdvisors ( |
Find all eligible advices and for autoproxying this class.
|
|
GetAdvicesAndAdvisorsForObject ( |
Return whether the given object is to be proxied, what additional advices (e.g. AOP Alliance interceptors) and advisors to apply. The previous targetName of this method was "GetInterceptorAndAdvisorForObject". It has been renamed in the course of general terminology clarification in Spring 1.1. An AOP Alliance Interceptor is just a special form of Advice, so the generic Advice term is preferred now. The third parameter, customTargetSource, is new in Spring 1.1; add it to existing implementations of this method. |
|
InitObjectFactory ( IConfigurableListableObjectFactory objectFactory ) : void |
An new IConfigurableListableObjectFactory was set. Initialize this creator instance according to the specified object factory.
|
|
IsEligibleAdvisorObject ( string advisorName, |
Whether the given advisor is eligible for the specified target. The default implementation always returns true.
|
|
SortAdvisors ( IList |
Sorts the advisors.
|
protected AbstractAdvisorAutoProxyCreator ( ) : System | ||
return | System |
protected CreateAdvisorRetrievalHelper ( IConfigurableListableObjectFactory objectFactory ) : IAdvisorRetrievalHelper | ||
objectFactory | IConfigurableListableObjectFactory | |
return | IAdvisorRetrievalHelper |
protected ExtendAdvisors ( IList |
||
advisors | IList |
Advisors that have already been identified as applying to a given object |
objectType | the type of the object to be advised | |
objectName | string | the name of the object to be advised |
return | void |
protected FindAdvisorsThatCanApply ( IList |
||
candidateAdvisors | IList |
the list of candidate advisors to date |
targetType | the target object's type | |
targetName | string | the target object's name |
return | IList |
protected FindCandidateAdvisors ( |
||
targetType | the type of the object to be advised | |
targetName | string | the name of the object to be advised |
return | IList |
protected FindEligibleAdvisors ( |
||
targetType | the type of the object to be advised | |
targetName | string | the name of the object to be advised |
return | IList |
protected GetAdvicesAndAdvisorsForObject ( |
||
targetType | the type of the target object | |
targetName | string | the name of the target object |
customTargetSource | ITargetSource | targetSource returned by TargetSource property: /// may be ignored. Will be null unless a custom target source is in use. |
return | IList |
protected InitObjectFactory ( IConfigurableListableObjectFactory objectFactory ) : void | ||
objectFactory | IConfigurableListableObjectFactory | |
return | void |
protected IsEligibleAdvisorObject ( string advisorName, |
||
advisorName | string | the advisor name |
targetType | the target object's type | |
targetName | string | the target object's name |
return | bool |
protected SortAdvisors ( IList |
||
advisors | IList |
The advisors. |
return | IList |