void
|
addAdvice(int pos, Advice advice)
Cannot add introductions this way unless the advice implements IntroductionInfo.
|
void
|
addAdvice(Advice advice)
Add the given AOP Alliance advice to the tail of the advice (interceptor) chain.
|
void
|
addAdvisor(Advisor advisor)
Add an advisor at the end of the advisor chain.
|
void
|
addAdvisor(int pos, Advisor advisor)
Add an Advisor at the specified position in the chain.
|
void
|
addAdvisors(Advisor... advisors)
Add all of the given advisors to this proxy configuration.
|
void
|
addAdvisors(Collection<Advisor> advisors)
Add all of the given advisors to this proxy configuration.
|
void
|
addAllAdvisors(Advisor[] advisors)
|
void
|
addInterface(Class intf)
Add a new proxied interface.
|
void
|
adviceChanged()
Invoked when advice has changed.
|
boolean
|
adviceIncluded(Advice advice)
Is the given advice included in any advisor within this proxy configuration?
|
void
|
copyConfigurationFrom(AdvisedSupport other, TargetSource targetSource, List<Advisor> advisors)
Copy the AOP configuration from the given AdvisedSupport object,
but allow substitution of a fresh TargetSource and a given interceptor chain.
|
void
|
copyConfigurationFrom(AdvisedSupport other)
Call this method on a new instance created by the no-arg constructor
to create an independent copy of the configuration from the given object.
|
int
|
countAdvicesOfType(Class adviceClass)
Count advices of the given class.
|
AdvisorChainFactory
|
getAdvisorChainFactory()
Return the advisor chain factory to use (never null ).
|
final
Advisor[]
|
getAdvisors()
Return the advisors applying to this proxy.
|
final
List<Advisor>
|
getAdvisorsInternal()
|
List<Object>
|
getInterceptorsAndDynamicInterceptionAdvice(Method method, Class targetClass)
Determine a list of org.aopalliance.intercept.MethodInterceptor objects
for the given method, based on this configuration.
|
Class[]
|
getProxiedInterfaces()
Return the interfaces proxied by the AOP proxy.
|
Class<?>
|
getTargetClass()
Return the target class behind the implementing object
(typically a proxy configuration or an actual proxy).
|
TargetSource
|
getTargetSource()
Return the TargetSource used by this Advised object.
|
int
|
indexOf(Advisor advisor)
Return the index (from 0) of the given advisor,
or -1 if no such advisor applies to this proxy.
|
int
|
indexOf(Advice advice)
Return the index (from 0) of the given AOP Alliance Advice,
or -1 if no such advice is an advice for this proxy.
|
boolean
|
isInterfaceProxied(Class intf)
Determine whether the given interface is proxied.
|
boolean
|
isPreFiltered()
Return whether this proxy configuration is pre-filtered so that it only
contains applicable advisors (matching this proxy's target class).
|
boolean
|
removeAdvice(Advice advice)
Remove the Advisor containing the given advice.
|
void
|
removeAdvisor(int index)
Remove the advisor at the given index.
|
boolean
|
removeAdvisor(Advisor advisor)
Remove the given advisor.
|
boolean
|
removeInterface(Class intf)
Remove a proxied interface.
|
boolean
|
replaceAdvisor(Advisor a, Advisor b)
Replace the given advisor.
|
void
|
setAdvisorChainFactory(AdvisorChainFactory advisorChainFactory)
Set the advisor chain factory to use.
|
void
|
setInterfaces(Class[] interfaces)
Set the interfaces to be proxied.
|
void
|
setPreFiltered(boolean preFiltered)
Set whether this proxy configuration is pre-filtered so that it only
contains applicable advisors (matching this proxy's target class).
|
void
|
setTarget(Object target)
Set the given object as target.
|
void
|
setTargetClass(Class targetClass)
Set a target class to be proxied, indicating that the proxy
should be castable to the given class.
|
void
|
setTargetSource(TargetSource targetSource)
Change the TargetSource used by this Advised object.
|
String
|
toProxyConfigString()
As toString() will normally be delegated to the target,
this returns the equivalent for the AOP proxy.
|
String
|
toString()
For debugging/diagnostic use.
|
final
void
|
updateAdvisorArray()
Bring the array up to date with the list.
|