List of usage examples for org.springframework.web.context.request.async CallableProcessingInterceptor getClass
@HotSpotIntrinsicCandidate public final native Class<?> getClass();
From source file:org.springframework.web.context.request.async.WebAsyncManager.java
/** * Register a {@link CallableProcessingInterceptor} without a key. * The key is derived from the class name and hashcode. * @param interceptors one or more interceptors to register *///w w w . j a v a 2 s. c om public void registerCallableInterceptors(CallableProcessingInterceptor... interceptors) { Assert.notNull(interceptors, "A CallableProcessingInterceptor is required"); for (CallableProcessingInterceptor interceptor : interceptors) { String key = interceptor.getClass().getName() + ":" + interceptor.hashCode(); this.callableInterceptors.put(key, interceptor); } }