org.springframework.aop.interceptor.AsyncExecutionInterceptor Java Examples

The following examples show how to use org.springframework.aop.interceptor.AsyncExecutionInterceptor. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: AopProxyUtils.java    From phone with Apache License 2.0 4 votes vote down vote up
/**
 * 移除代理对象的异步调用支持
 * @return
 */
public static void removeAsync(Object proxy) {
    removeAdvisor(proxy, AsyncExecutionInterceptor.class);

}
 
Example #2
Source File: AopProxyUtils.java    From es with Apache License 2.0 4 votes vote down vote up
/**
 * 移除代理对象的异步调用支持
 * @return
 */
public static void removeAsync(Object proxy) {
    removeAdvisor(proxy, AsyncExecutionInterceptor.class);

}
 
Example #3
Source File: AopProxyUtils.java    From phone with Apache License 2.0 2 votes vote down vote up
/**
 * 是否是异步的代理
 * @param proxy
 * @return
 */
public static boolean isAsync(Object proxy) {
    return hasAdvice(proxy, AsyncExecutionInterceptor.class);
}
 
Example #4
Source File: AopProxyUtils.java    From es with Apache License 2.0 2 votes vote down vote up
/**
 * 是否是异步的代理
 * @param proxy
 * @return
 */
public static boolean isAsync(Object proxy) {
    return hasAdvice(proxy, AsyncExecutionInterceptor.class);
}