# 6.3. Spring 中的 Advisor API

在 Spring 中，Advisor 是一个仅包含一个与切入点表达式关联的切面对象的切面。

除了介绍的特殊情况外，任何Advisor都可以与任何切面一起使用。 `org.springframework.aop.support.DefaultPointcutAdvisor`是最常用的Advisor类。它可以与`MethodInterceptor`、`BeforeAdvice`或 `ThrowsAdvice`一起使用。

可以在同一个 AOP 代理中混合 Spring 中的Advisor和切面类型。例如，您可以在一个代理配置中对通知、抛出通知和通知之前使用拦截。Spring 自动创建必要的拦截器链。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.shiker.tech/spring-he-xin-gong-neng/6.-spring-aop-api/6.3.-spring-zhong-de-advisor-api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
