Class EntityDocsResourceMethodInterceptor
java.lang.Object
ch.tocco.nice2.rest.entity.impl.entitydoc.EntityDocsResourceMethodInterceptor
- All Implemented Interfaces:
ResourceMethodInvocationInterceptor
@Component
public class EntityDocsResourceMethodInterceptor
extends Object
implements ResourceMethodInvocationInterceptor
-
Nested Class Summary
Nested classes/interfaces inherited from interface ResourceMethodInvocationInterceptor
ResourceMethodInvocationInterceptor.InterceptorChain -
Constructor Summary
ConstructorsConstructorDescriptionEntityDocsResourceMethodInterceptor(SecurityManager securityManager, EntityDocumentsService entityDocumentsService, SelectionService selectionService) -
Method Summary
Modifier and TypeMethodDescriptionprotected @Nullable EnableEntityDocAclfindAnnotation(Method resourceMethod) onResourceMethodInvocation(Method resourceMethod, Object[] params, ResourceMethodInvocationInterceptor.InterceptorChain interceptorChain)
-
Constructor Details
-
EntityDocsResourceMethodInterceptor
public EntityDocsResourceMethodInterceptor(SecurityManager securityManager, EntityDocumentsService entityDocumentsService, SelectionService selectionService)
-
-
Method Details
-
onResourceMethodInvocation
public Object onResourceMethodInvocation(Method resourceMethod, Object[] params, ResourceMethodInvocationInterceptor.InterceptorChain interceptorChain) throws Exception - Specified by:
onResourceMethodInvocationin interfaceResourceMethodInvocationInterceptor- Throws:
Exception
-
findAnnotation
-