單項選擇題AspectJ中,用于定義一個切面的注解是()。

A.@Before
B.@Aspect
C.@Pointcut
D.@After


您可能感興趣的試卷

你可能感興趣的試題

1.單項選擇題AspectJ中,配置環(huán)繞通知的元素是()。

A.《aop:pointcut》
B.《aop:before》
C.《aop:after-retuning》
D.《aop:around》

2.單項選擇題AspectJ中,配置通知器的標簽元素是()。

A.《aop:pointcut》
B.《aop:declare-parents》
C.《aop:advisor》
D.《aop:aspect》

3.單項選擇題AspectJ是一種基于()的AOP框架,它提供了強大的AOP功能。

A.Java語言
B.C語言
C.C++語言
D.SQL語言

5.單項選擇題Spring通知類型中,環(huán)繞通知的類是()。

A.AfterReturningAdvice
B.MethodBeforeAdvice
C.MethodInterceptor
D.ThrowsAdvice