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 ch.tocco.nice2.rest.core.spi.ResourceMethodInvocationInterceptor
ResourceMethodInvocationInterceptor.InterceptorChain
-
Constructor Summary
ConstructorDescriptionEntityDocsResourceMethodInterceptor
(SecurityManager securityManager, EntityDocumentsService entityDocumentsService, SelectionService selectionService) -
Method Summary
Modifier and TypeMethodDescriptionprotected @Nullable EnableEntityDocAcl
findAnnotation
(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:
onResourceMethodInvocation
in interfaceResourceMethodInvocationInterceptor
- Throws:
Exception
-
findAnnotation
-