Package ca.uhn.fhir.interceptor.api
Interface IInterceptorBroadcaster
-
- All Known Subinterfaces:
IInterceptorService
- All Known Implementing Classes:
InterceptorService
public interface IInterceptorBroadcaster
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancallHooks(Pointcut thePointcut, HookParams theParams)Invoke registered interceptor hook methods for the given Pointcut.ObjectcallHooksAndReturnObject(Pointcut thePointcut, HookParams theParams)Invoke registered interceptor hook methods for the given Pointcut.booleanhasHooks(Pointcut thePointcut)Does this broadcaster have any hooks for the given pointcut?
-
-
-
Method Detail
-
callHooks
boolean callHooks(Pointcut thePointcut, HookParams theParams)
Invoke registered interceptor hook methods for the given Pointcut.- Returns:
- Returns
falseif any of the invoked hook methods returnedfalse, and returnstrueotherwise.
-
callHooksAndReturnObject
Object callHooksAndReturnObject(Pointcut thePointcut, HookParams theParams)
Invoke registered interceptor hook methods for the given Pointcut. This method should only be called for pointcuts that return a type other thanvoidorboolean- Returns:
- Returns the object returned by the first hook method that did not return
null
-
-