
Package ca.uhn.fhir.interceptor.api
Interface IBaseInterceptorBroadcaster<POINTCUT extends IPointcut>
- All Known Subinterfaces:
IBaseInterceptorService<POINTCUT>
,IInterceptorBroadcaster
,IInterceptorService
- All Known Implementing Classes:
BaseInterceptorService
,InterceptorService
public interface IBaseInterceptorBroadcaster<POINTCUT extends IPointcut>
-
Method Summary
Modifier and TypeMethodDescriptionboolean
callHooks
(POINTCUT thePointcut, HookParams theParams) Invoke registered interceptor hook methods for the given Pointcut.callHooksAndReturnObject
(POINTCUT thePointcut, HookParams theParams) Invoke registered interceptor hook methods for the given Pointcut.boolean
Does this broadcaster have any hooks for the given pointcut?
-
Method Details
-
callHooks
Invoke registered interceptor hook methods for the given Pointcut.- Returns:
- Returns
false
if any of the invoked hook methods returnedfalse
, and returnstrue
otherwise.
-
callHooksAndReturnObject
Invoke registered interceptor hook methods for the given Pointcut. This method should only be called for pointcuts that return a type other thanvoid
orboolean
- Returns:
- Returns the object returned by the first hook method that did not return
null
-
hasHooks
Does this broadcaster have any hooks for the given pointcut?- Parameters:
thePointcut
- The poointcut- Returns:
- Does this broadcaster have any hooks for the given pointcut?
- Since:
- 4.0.0
-