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 class
InterceptorConfiguration.Position
Positional placing of a new custom interceptor
-
Field Summary
Fields Modifier and Type Field Description static AttributeDefinition<java.lang.Class>
AFTER
static AttributeDefinition<java.lang.Class>
BEFORE
static AttributeDefinition<java.lang.Integer>
INDEX
static AttributeDefinition<AsyncInterceptor>
INTERCEPTOR
static AttributeDefinition<java.lang.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 Modifier and Type Method Description java.lang.Class<? extends AsyncInterceptor>
after()
AsyncInterceptor
asyncInterceptor()
static AttributeSet
attributeDefinitionSet()
AttributeSet
attributes()
java.lang.Class<? extends AsyncInterceptor>
before()
boolean
first()
ElementDefinition
getElementDefinition()
int
index()
boolean
last()
InterceptorConfiguration.Position
position()
java.lang.Class<? extends AsyncInterceptor>
sequentialInterceptorClass()
java.lang.String
toString()
-
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()
-
asyncInterceptor
public AsyncInterceptor asyncInterceptor()
-
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:
attributes
in interfaceBaseConfigurationInfo
- Returns:
- the
AttributeSet
declared by the configuration.
-
getElementDefinition
public ElementDefinition getElementDefinition()
- Specified by:
getElementDefinition
in interfaceBaseConfigurationInfo
- Returns:
- the
ElementDefinition
of the configuration.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classAbstractTypedPropertiesConfiguration
-
-