Method Summary |
|
public void | addAdvice(Advice advice) |
public void | addAdvice(int pos, Advice advice) Cannot add introductions this way unless the advice implements IntroductionInfo. |
public void | addAdvisor(Advisor advisor) |
public void | addAdvisor(int pos, Advisor advisor) |
public void | addAllAdvisors(Advisor[] advisors) Add all of the given advisors to this proxy configuration. |
public void | addInterface(Class intf) Add a new proxied interface. |
protected void | adviceChanged() Invoked when advice has changed. |
public boolean | adviceIncluded(Advice advice) |
protected 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. |
protected void | copyConfigurationFrom(AdvisedSupport other, TargetSource targetSource, List advisors) Copy the AOP configuration from the given AdvisedSupport object,
but allow substitution of a fresh TargetSource and a given interceptor chain. |
public int | countAdvicesOfType(Class adviceClass) Count advices of the given class. |
public AdvisorChainFactory | getAdvisorChainFactory() Return the advisor chain factory to use (never null ). |
final public Advisor[] | getAdvisors() |
final protected List | getAdvisorsInternal() Allows uncontrolled access to the
List of
Advisor Advisors . |
public List | getInterceptorsAndDynamicInterceptionAdvice(Method method, Class targetClass) Determine a list of
org.aopalliance.intercept.MethodInterceptor objects
for the given method, based on this configuration. |
public Class[] | getProxiedInterfaces() |
public Class | getTargetClass() |
public TargetSource | getTargetSource() |
public int | indexOf(Advisor advisor) |
public int | indexOf(Advice advice) |
public boolean | isInterfaceProxied(Class intf) |
public boolean | removeAdvice(Advice advice) |
public boolean | removeAdvisor(Advisor advisor) |
public void | removeAdvisor(int index) |
public boolean | removeInterface(Class intf) Remove a proxied interface. |
public boolean | replaceAdvisor(Advisor a, Advisor b) |
public void | setAdvisorChainFactory(AdvisorChainFactory advisorChainFactory) Set the advisor chain factory to use. |
public void | setInterfaces(Class[] interfaces) Set the interfaces to be proxied. |
public void | setTarget(Object target) Set the given object as target. |
public void | setTargetClass(Class targetClass) Set a target class to be proxied, indicating that the proxy
should be castable to the given class.
Internally, an
org.springframework.aop.target.EmptyTargetSource for the given target class will be used. |
public void | setTargetSource(TargetSource targetSource) |
public String | toProxyConfigString() |
public String | toString() For debugging/diagnostic use. |
final protected void | updateAdvisorArray() Bring the array up to date with the list. |
protected Object | writeReplace() Serializes a copy of the state of this class, ignoring subclass state. |