Class InterceptorConfiguration
- java.lang.Object
-
- org.infinispan.commons.configuration.AbstractTypedPropertiesConfiguration
-
- org.infinispan.configuration.cache.InterceptorConfiguration
-
- All Implemented Interfaces:
BaseConfigurationInfo,ConfigurationInfo
public class InterceptorConfiguration extends AbstractTypedPropertiesConfiguration implements ConfigurationInfo
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()ElementDefinitiongetElementDefinition()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
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.infinispan.commons.configuration.ConfigurationInfo
subElements
-
-
-
-
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()
- Specified by:
attributesin interfaceBaseConfigurationInfo- Returns:
- the
AttributeSetdeclared by the configuration.
-
getElementDefinition
public ElementDefinition getElementDefinition()
- Specified by:
getElementDefinitionin interfaceBaseConfigurationInfo- Returns:
- the
ElementDefinitionof the configuration.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classAbstractTypedPropertiesConfiguration
-
-