
Package ca.uhn.fhir.interceptor.executor
Class InterceptorService
java.lang.Object
ca.uhn.fhir.interceptor.executor.BaseInterceptorService<Pointcut>
ca.uhn.fhir.interceptor.executor.InterceptorService
- All Implemented Interfaces:
IBaseInterceptorBroadcaster<Pointcut>,IBaseInterceptorService<Pointcut>,IInterceptorBroadcaster,IInterceptorService
public class InterceptorService
extends BaseInterceptorService<Pointcut>
implements IInterceptorService, IInterceptorBroadcaster
-
Nested Class Summary
Nested classes/interfaces inherited from class ca.uhn.fhir.interceptor.executor.BaseInterceptorService
BaseInterceptorService.BaseInvoker, BaseInterceptorService.HookDescriptorNested classes/interfaces inherited from interface ca.uhn.fhir.interceptor.api.IBaseInterceptorBroadcaster
IBaseInterceptorBroadcaster.IInterceptorFilterHook, IBaseInterceptorBroadcaster.IInvoker -
Constructor Summary
ConstructorsConstructorDescriptionConstructor which uses a default name of "default"InterceptorService(String theName) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoidregisterAnonymousInterceptor(Pointcut thePointcut, int theOrder, IAnonymousInterceptor theInterceptor) voidregisterAnonymousInterceptor(Pointcut thePointcut, IAnonymousInterceptor theInterceptor) protected Optional<BaseInterceptorService<Pointcut>.HookDescriptor> scanForHook(Method nextMethod) Methods inherited from class ca.uhn.fhir.interceptor.executor.BaseInterceptorService
callHooks, callHooksAndReturnObject, callInvokers, findAnnotation, getAllRegisteredInterceptors, getBooleanReturnType, getInvokersForPointcut, hasHooks, haveAppropriateParams, registerAnonymousInterceptor, registerInterceptor, registerInterceptors, setName, setWarnOnInterceptorWithNoHooks, union, unregisterAllAnonymousInterceptors, unregisterAllInterceptors, unregisterInterceptor, unregisterInterceptors, unregisterInterceptorsIfMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ca.uhn.fhir.interceptor.api.IBaseInterceptorBroadcaster
callHooks, callHooksAndReturnObject, getInvokersForPointcut, hasHooks, ifHasCallHooks, ifHasCallHooksAndReturnObject, runWithFilterHooks, runWithFilterHooksMethods inherited from interface ca.uhn.fhir.interceptor.api.IBaseInterceptorService
getAllRegisteredInterceptors, hasRegisteredInterceptor, registerInterceptor, registerInterceptors, unregisterAllAnonymousInterceptors, unregisterAllInterceptors, unregisterInterceptor, unregisterInterceptors, unregisterInterceptorsIf
-
Constructor Details
-
InterceptorService
public InterceptorService()Constructor which uses a default name of "default" -
InterceptorService
Constructor- Parameters:
theName- The name for this registry (useful for troubleshooting)
-
-
Method Details
-
scanForHook
- Specified by:
scanForHookin classBaseInterceptorService<Pointcut>
-
registerAnonymousInterceptor
public void registerAnonymousInterceptor(Pointcut thePointcut, IAnonymousInterceptor theInterceptor) - Specified by:
registerAnonymousInterceptorin interfaceIInterceptorService
-
registerAnonymousInterceptor
public void registerAnonymousInterceptor(Pointcut thePointcut, int theOrder, IAnonymousInterceptor theInterceptor) - Specified by:
registerAnonymousInterceptorin interfaceIInterceptorService
-