Polishing
This commit is contained in:
@@ -149,11 +149,11 @@ Let's consider some static pointcut implementations included with Spring.
|
||||
One obvious way to specify static pointcuts is regular expressions. Several AOP
|
||||
frameworks besides Spring make this possible.
|
||||
`org.springframework.aop.support.JdkRegexpMethodPointcut` is a generic regular
|
||||
expression pointcut, using the regular expression support in the JDK.
|
||||
expression pointcut that uses the regular expression support in the JDK.
|
||||
|
||||
Using the `JdkRegexpMethodPointcut` class, you can provide a list of pattern Strings. If
|
||||
any of these is a match, the pointcut will evaluate to true. (So the result is
|
||||
effectively the union of these pointcuts.)
|
||||
With the `JdkRegexpMethodPointcut` class, you can provide a list of pattern strings.
|
||||
If any of these is a match, the pointcut evaluates to `true`. (As a consequence,
|
||||
the resulting pointcut is effectively the union of the specified patterns.)
|
||||
|
||||
The usage is shown below:
|
||||
|
||||
|
||||
@@ -1359,7 +1359,7 @@ join point, unless you specify otherwise the order of execution is undefined. Yo
|
||||
control the order of execution by specifying precedence. This is done in the normal
|
||||
Spring way by either implementing the `org.springframework.core.Ordered` interface in
|
||||
the aspect class or annotating it with the `Order` annotation. Given two aspects, the
|
||||
aspect returning the lower value from `Ordered.getValue()` (or the annotation value) has
|
||||
aspect returning the lower value from `Ordered.getOrder()` (or the annotation value) has
|
||||
the higher precedence.
|
||||
|
||||
When two pieces of advice defined in __the same__ aspect both need to run at the same
|
||||
|
||||
@@ -39,7 +39,7 @@ information on using the `BeanFactory` instead of the `ApplicationContext,` refe
|
||||
|
||||
In Spring, the objects that form the backbone of your application and that are managed
|
||||
by the Spring IoC __container__ are called __beans__. A bean is an object that is
|
||||
instantiated, assembled, and otherwise managed by a Spring IoC container. Otherwise, a
|
||||
instantiated, assembled, and managed by a Spring IoC container. Otherwise, a
|
||||
bean is simply one of many objects in your application. Beans, and the __dependencies__
|
||||
among them, are reflected in the __configuration metadata__ used by a container.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user