Annotation Interface IsEnabled
Annotates a method in a @
Pointcut
class that should be run just before each
method execution picked out by the Pointcut
. Only one method in a
@Pointcut
class may be annotated with @IsEnabled
.
An @IsEnabled
method can accept parameters annotated with any of the
following: BindReceiver
, BindParameter
, BindParameterArray
or
BindMethodName
.
An @IsEnabled
method must return a boolean
. If it returns
false
then none of the @OnBefore
, @OnReturn
,
@OnThrow
or @OnAfter
methods are called for that execution
of the method picked out by the Pointcut
.