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 classInterceptorConfiguration.PositionPositional placing of a new custom interceptor
-
Field Summary
Fields Modifier and Type Field Description static AttributeDefinition<java.lang.Class>AFTERstatic AttributeDefinition<java.lang.Class>BEFOREstatic AttributeDefinition<java.lang.Integer>INDEXstatic AttributeDefinition<AsyncInterceptor>INTERCEPTORstatic AttributeDefinition<java.lang.Class>INTERCEPTOR_CLASSstatic 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 java.lang.Class<? extends AsyncInterceptor>after()AsyncInterceptorasyncInterceptor()static AttributeSetattributeDefinitionSet()AttributeSetattributes()java.lang.Class<? extends AsyncInterceptor>before()booleanfirst()intindex()CommandInterceptorinterceptor()Deprecated.Since 9.0, please useasyncInterceptor()instead.java.lang.Class<? extends CommandInterceptor>interceptorClass()Deprecated.Since 9.0, please usesequentialInterceptorClass()instead.booleanlast()InterceptorConfiguration.Positionposition()java.lang.Class<? extends AsyncInterceptor>sequentialInterceptorClass()java.lang.StringtoString()-
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<java.lang.Class> AFTER
-
BEFORE
public static final AttributeDefinition<java.lang.Class> BEFORE
-
INTERCEPTOR
public static final AttributeDefinition<AsyncInterceptor> INTERCEPTOR
-
INTERCEPTOR_CLASS
public static final AttributeDefinition<java.lang.Class> INTERCEPTOR_CLASS
-
INDEX
public static final AttributeDefinition<java.lang.Integer> INDEX
-
-
Method Detail
-
attributeDefinitionSet
public static AttributeSet attributeDefinitionSet()
-
after
public java.lang.Class<? extends AsyncInterceptor> after()
-
before
public java.lang.Class<? extends AsyncInterceptor> before()
-
interceptor
@Deprecated public CommandInterceptor interceptor()
Deprecated.Since 9.0, please useasyncInterceptor()instead.
-
asyncInterceptor
public AsyncInterceptor asyncInterceptor()
-
interceptorClass
@Deprecated public java.lang.Class<? extends CommandInterceptor> interceptorClass()
Deprecated.Since 9.0, please usesequentialInterceptorClass()instead.
-
sequentialInterceptorClass
public java.lang.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 java.lang.String toString()
- Overrides:
toStringin classAbstractTypedPropertiesConfiguration
-
-