Class InterceptorExecutionPolicy
- java.lang.Object
-
- de.hybris.platform.servicelayer.interceptor.impl.InterceptorExecutionPolicy
-
public class InterceptorExecutionPolicy extends java.lang.Object
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 Classes Modifier and Type Class Description static class
InterceptorExecutionPolicy.InterceptorExecutionContext<T extends Interceptor>
static class
InterceptorExecutionPolicy.InterceptorType
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
DISABLED_INTERCEPTOR_BEANS
static java.lang.String
DISABLED_INTERCEPTOR_TYPES
static java.lang.String
DISABLED_UNIQUE_ATTRIBUTE_VALIDATOR_FOR_ITEM_TYPES
-
Constructor Summary
Constructors Constructor Description InterceptorExecutionPolicy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends Interceptor>
java.util.Collection<T>getEnabledInterceptors(InterceptorExecutionPolicy.InterceptorExecutionContext<T> ctx)
void
setSessionService(SessionService sessionService)
-
-
-
Field Detail
-
DISABLED_INTERCEPTOR_BEANS
public static final java.lang.String DISABLED_INTERCEPTOR_BEANS
- See Also:
- Constant Field Values
-
DISABLED_INTERCEPTOR_TYPES
public static final java.lang.String DISABLED_INTERCEPTOR_TYPES
- See Also:
- Constant Field Values
-
DISABLED_UNIQUE_ATTRIBUTE_VALIDATOR_FOR_ITEM_TYPES
public static final java.lang.String DISABLED_UNIQUE_ATTRIBUTE_VALIDATOR_FOR_ITEM_TYPES
- See Also:
- Constant Field Values
-
-
Method Detail
-
getEnabledInterceptors
public <T extends Interceptor> java.util.Collection<T> getEnabledInterceptors(InterceptorExecutionPolicy.InterceptorExecutionContext<T> ctx)
-
setSessionService
public void setSessionService(SessionService sessionService)
-
-