List of usage examples for org.springframework.web.context.request.async CallableProcessingInterceptor hashCode
@HotSpotIntrinsicCandidate public native int hashCode();
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 ww. jav 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); } }