接缝焊接 CDI
Seam to Weld CDI
我想知道如果有一个相当于下面的seam 2.2 annotation
@Interceptor(around = {SomeInterceptor.class})
带有焊接注释。
我对 Seam 和 Weld 都不是很熟悉。 "around" 到底是什么意思?它与调用其他拦截器的命令有关吗?还是某种继承?
"Where interceptor order is important, add @Interceptor annotations to your interceptor classes to specify a particular order of interceptors."
@Interceptor(around={BijectionInterceptor.class,
ValidationInterceptor.class,
ConversationInterceptor.class})
public class LoggedInInterceptor {
...
}
所以只有一个拦截器不是很有用......
我想知道如果有一个相当于下面的seam 2.2 annotation
@Interceptor(around = {SomeInterceptor.class})
带有焊接注释。 我对 Seam 和 Weld 都不是很熟悉。 "around" 到底是什么意思?它与调用其他拦截器的命令有关吗?还是某种继承?
"Where interceptor order is important, add @Interceptor annotations to your interceptor classes to specify a particular order of interceptors."
@Interceptor(around={BijectionInterceptor.class,
ValidationInterceptor.class,
ConversationInterceptor.class})
public class LoggedInInterceptor {
...
}
所以只有一个拦截器不是很有用......