Class DefaultMethodInvokingMethodInterceptor
java.lang.Object
org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor
- All Implemented Interfaces:
 Advice,Interceptor,MethodInterceptor
Method interceptor to invoke default methods on the repository proxy.
- Author:
 - Oliver Gierke, Jens Schauder, Mark Paluch, Johannes Englmeier
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic booleanhasDefaultMethods(Class<?> interfaceClass) Returns whether theinterfaceClassdeclaresdefault methods.invoke(MethodInvocation invocation)  
- 
Constructor Details
- 
DefaultMethodInvokingMethodInterceptor
public DefaultMethodInvokingMethodInterceptor() 
 - 
 - 
Method Details
- 
hasDefaultMethods
Returns whether theinterfaceClassdeclaresdefault methods.- Parameters:
 interfaceClass- theClassto inspect.- Returns:
 - true if 
interfaceClassdeclares a default method. - Since:
 - 2.2
 
 - 
invoke
- Specified by:
 invokein interfaceMethodInterceptor- Throws:
 Throwable
 
 -