@NoImplement public interface Interceptable
List
of
interceptors
that it provides.
Notice that the interceptors are returned in a List
, which
carries the concept of order. Although implementations are to return
the interceptors in the order they would like them to be executed,
the runtime reserves the right to not only re-arrange them but to also
insert other interceptors before, after and in-between of them.
At the same time, just like the runtime doesn't guarantee to respect
the given order, it doesn't commit to make a best effort to alter them
as little as possible or convenientModifier and Type | Method and Description |
---|---|
List<Interceptor> |
getInterceptors()
Provides a list of
interceptors in a proposed
order of execution |
List<Interceptor> getInterceptors()
interceptors
in a proposed
order of executionList
. Might be empty but will never be null
Copyright © 2018. All rights reserved.