Java 类org.aopalliance.intercept.ConstructorInterceptor 实例源码

项目:dropwizard-hk2    文件:AnnotationInterceptionService.java   
@Override
public List<ConstructorInterceptor> getConstructorInterceptors(Constructor<?> constructor) {
    return getInterceptors(
        constructor,
        annotatedConstructorInterceptorFactories,
        AnnotatedConstructorInterceptorFactory.class,
        AnnotatedConstructorInterceptorFactory::provide
    );
}
项目:dropwizard-hk2    文件:CountedInterceptorFactory.java   
@Override
public ConstructorInterceptor provide(Constructor<?> constructor, Counted annotation) {
    return invocation -> count(constructor, annotation, invocation);
}
项目:dropwizard-hk2    文件:ExceptionMeteredInterceptorFactory.java   
@Override
public ConstructorInterceptor provide(Constructor<?> constructor, ExceptionMetered annotation) {
    return invocation -> exceptionMeter(constructor, annotation, invocation);
}
项目:dropwizard-hk2    文件:MeteredInterceptorFactory.java   
@Override
public ConstructorInterceptor provide(Constructor<?> constructor, Metered annotation) {
    return invocation -> meter(constructor, invocation);
}
项目:dropwizard-hk2    文件:TimedInterceptorFactory.java   
@Override
public ConstructorInterceptor provide(Constructor<?> constructor, Timed annotation) {
    return invocation -> time(constructor, invocation);
}
项目:sealion    文件:Always200OK.java   
@Override
public List<ConstructorInterceptor> getConstructorInterceptors(Constructor<?> constructor) {
    return Collections.emptyList();
}
项目:dropwizard-hk2    文件:AnnotatedConstructorInterceptorFactory.java   
ConstructorInterceptor provide(Constructor<?> constructor, T annotation);