Class InterceptorConfiguration
- java.lang.Object
-
- org.infinispan.commons.configuration.AbstractTypedPropertiesConfiguration
-
- org.infinispan.configuration.cache.InterceptorConfiguration
-
public class InterceptorConfiguration extends AbstractTypedPropertiesConfiguration
Describes a custom interceptor
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InterceptorConfiguration.Position
Positional placing of a new custom interceptor
-
Field Summary
Fields Modifier and Type Field Description static AttributeDefinition<Class>
AFTER
static AttributeDefinition<Class>
BEFORE
static AttributeDefinition<Integer>
INDEX
static AttributeDefinition<AsyncInterceptor>
INTERCEPTOR
static AttributeDefinition<Class>
INTERCEPTOR_CLASS
static AttributeDefinition<InterceptorConfiguration.Position>
POSITION
-
Fields inherited from class org.infinispan.commons.configuration.AbstractTypedPropertiesConfiguration
attributes, PROPERTIES
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Class<? extends AsyncInterceptor>
after()
AsyncInterceptor
asyncInterceptor()
static AttributeSet
attributeDefinitionSet()
AttributeSet
attributes()
Class<? extends AsyncInterceptor>
before()
boolean
first()
int
index()
CommandInterceptor
interceptor()
Deprecated.Since 9.0, please useasyncInterceptor()
instead.Class<? extends CommandInterceptor>
interceptorClass()
Deprecated.Since 9.0, please usesequentialInterceptorClass()
instead.boolean
last()
InterceptorConfiguration.Position
position()
Class<? extends AsyncInterceptor>
sequentialInterceptorClass()
String
toString()
-
Methods inherited from class org.infinispan.commons.configuration.AbstractTypedPropertiesConfiguration
attributeSet, equals, hashCode, properties
-
-
-
-
Field Detail
-
POSITION
public static final AttributeDefinition<InterceptorConfiguration.Position> POSITION
-
AFTER
public static final AttributeDefinition<Class> AFTER
-
BEFORE
public static final AttributeDefinition<Class> BEFORE
-
INTERCEPTOR
public static final AttributeDefinition<AsyncInterceptor> INTERCEPTOR
-
INTERCEPTOR_CLASS
public static final AttributeDefinition<Class> INTERCEPTOR_CLASS
-
INDEX
public static final AttributeDefinition<Integer> INDEX
-
-
Method Detail
-
attributeDefinitionSet
public static AttributeSet attributeDefinitionSet()
-
after
public Class<? extends AsyncInterceptor> after()
-
before
public Class<? extends AsyncInterceptor> before()
-
interceptor
@Deprecated public CommandInterceptor interceptor()
Deprecated.Since 9.0, please useasyncInterceptor()
instead.
-
asyncInterceptor
public AsyncInterceptor asyncInterceptor()
-
interceptorClass
@Deprecated public Class<? extends CommandInterceptor> interceptorClass()
Deprecated.Since 9.0, please usesequentialInterceptorClass()
instead.
-
sequentialInterceptorClass
public Class<? extends AsyncInterceptor> sequentialInterceptorClass()
-
index
public int index()
-
position
public InterceptorConfiguration.Position position()
-
first
public boolean first()
-
last
public boolean last()
-
attributes
public AttributeSet attributes()
-
toString
public String toString()
- Overrides:
toString
in classAbstractTypedPropertiesConfiguration
-
-