程序包 infra.aop
@NonNullApi
@NonNullFields
package infra.aop
Aspect Programming
- 作者:
- TODAY 2021/3/27 10:46
-
类说明Listener to be registered on
ProxyCreatorSupportobjects Allows for receiving callbacks on activation and change of advice.Base interface holding AOP advice (action to take at a join-point) and a filter determining the applicability of the advice (such as a pointcut).Common marker interface for after advice, such asAfterReturningAdviceandThrowsAdvice.After returning advice is invoked only on normal method return, not if an exception is thrown.Marker interface that indicates a bean that is part of AOP infrastructure.Exception that gets thrown when an AOP invocation failed because of misconfiguration or unexpected runtime issues.Filter that restricts matching of a pointcut or introduction to a given set of target classes.ClassFilter implementation for an intersection of the given ClassFilter.ClassFilter implementation for a logical negation of the given ClassFilter.ClassFilter implementation for a union of the given ClassFilter.A simple but definitive way of working out an advice chain for a Method, given anAdvisedobject.Subinterface of AOP Alliance Advice that allows additional interfaces to be implemented by an Advice, and available via a proxy using that interceptor.Factory interface for advisor chains.Superinterface for advisors that perform one or more AOP introductions.A specialized type ofMethodMatcherthat takes into account introductions when matching methods.Interface supplying the information necessary to describe an introduction.Sub-interface of AOP Alliance MethodInterceptor that allows additional interfaces to be implemented by the interceptor, and available via a proxy using that interceptor.Advice invoked before a method is invoked.Part of aPointcut: Checks whether the target method is eligible for advice.MethodMatcher implementation for a union of two given MethodMatchers of which at least one is an IntroductionAwareMethodMatcher, supporting an associated ClassFilter per MethodMatcher.MethodMatcher implementation for a union of two given MethodMatchers, supporting an associated ClassFilter per MethodMatcher.MethodMatcher implementation for an intersection of two given MethodMatchers of which at least one is an IntroductionAwareMethodMatcher.MethodMatcher implementation for an intersection of two given MethodMatcher.MethodMatcher implementation for a union of two given MethodMatchers of which at least one is an IntroductionAwareMethodMatcher.MethodMatcher implementation for a union of two given MethodMatcher.Core pointcut abstraction.Pointcut implementation that matches bean property getters.Pointcut implementation that matches bean property setters.Superinterface for all Advisors that are driven by a pointcut.Extension of the AOP AllianceMethodInvocationinterface, allowing access to the proxy that the method invocation was made through.Marker for AOP proxy interfaces (in particular: introduction interfaces) that explicitly intend to return the raw target object (which would normally get replaced with the proxy object when returned from a method invocation).Minimal interface for exposing the target class behind a proxy.ATargetSourceis used to obtain the current "target" of an AOP invocation, which will be invoked via reflection if no around advice chooses to end the interceptor chain itself.Tag interface for throws advice.Canonical ClassFilter instance that matches all classes.Canonical MethodMatcher instance that matches all methods.Canonical Pointcut instance that always matches.