Class InterceptorExecutionPolicy
java.lang.Object
de.hybris.platform.servicelayer.interceptor.impl.InterceptorExecutionPolicy
Policy that allows to disable certain interceptors. You can disable them per bean basis (no matter what kind of
interceptor subclass they are) or choose to disable all validate interceptors (disabling all interceptors of
different type than validate is not supported)
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enum -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T extends Interceptor>
Collection<T>voidsetSessionService(SessionService sessionService)
-
Field Details
-
DISABLED_INTERCEPTOR_BEANS
- See Also:
-
DISABLED_INTERCEPTOR_TYPES
- See Also:
-
DISABLED_UNIQUE_ATTRIBUTE_VALIDATOR_FOR_ITEM_TYPES
- See Also:
-
-
Constructor Details
-
InterceptorExecutionPolicy
public InterceptorExecutionPolicy()
-
-
Method Details
-
getEnabledInterceptors
public <T extends Interceptor> Collection<T> getEnabledInterceptors(InterceptorExecutionPolicy.InterceptorExecutionContext<T> ctx) -
setSessionService
-