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 org.infinispan.commons.configuration.attributes.AttributeDefinition<Class>
AFTER
static org.infinispan.commons.configuration.attributes.AttributeDefinition<Class>
BEFORE
static org.infinispan.commons.configuration.attributes.AttributeDefinition<Integer>
INDEX
static org.infinispan.commons.configuration.attributes.AttributeDefinition<org.infinispan.interceptors.AsyncInterceptor>
INTERCEPTOR
static org.infinispan.commons.configuration.attributes.AttributeDefinition<Class>
INTERCEPTOR_CLASS
static org.infinispan.commons.configuration.attributes.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 Class<? extends org.infinispan.interceptors.AsyncInterceptor>
after()
org.infinispan.interceptors.AsyncInterceptor
asyncInterceptor()
static org.infinispan.commons.configuration.attributes.AttributeSet
attributeDefinitionSet()
org.infinispan.commons.configuration.attributes.AttributeSet
attributes()
Class<? extends org.infinispan.interceptors.AsyncInterceptor>
before()
boolean
first()
org.infinispan.commons.configuration.elements.ElementDefinition
getElementDefinition()
int
index()
boolean
last()
InterceptorConfiguration.Position
position()
Class<? extends org.infinispan.interceptors.AsyncInterceptor>
sequentialInterceptorClass()
String
toString()
-
Methods inherited from class org.infinispan.commons.configuration.AbstractTypedPropertiesConfiguration
attributeSet, equals, hashCode, properties
-
Methods inherited from interface org.infinispan.commons.configuration.ConfigurationInfo
subElements
-
-
-
-
Field Detail
-
POSITION
public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<InterceptorConfiguration.Position> POSITION
-
AFTER
public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<Class> AFTER
-
BEFORE
public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<Class> BEFORE
-
INTERCEPTOR
public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<org.infinispan.interceptors.AsyncInterceptor> INTERCEPTOR
-
INTERCEPTOR_CLASS
public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<Class> INTERCEPTOR_CLASS
-
INDEX
public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<Integer> INDEX
-
-
Method Detail
-
attributeDefinitionSet
public static org.infinispan.commons.configuration.attributes.AttributeSet attributeDefinitionSet()
-
after
public Class<? extends org.infinispan.interceptors.AsyncInterceptor> after()
-
before
public Class<? extends org.infinispan.interceptors.AsyncInterceptor> before()
-
asyncInterceptor
public org.infinispan.interceptors.AsyncInterceptor asyncInterceptor()
-
sequentialInterceptorClass
public Class<? extends org.infinispan.interceptors.AsyncInterceptor> sequentialInterceptorClass()
-
index
public int index()
-
position
public InterceptorConfiguration.Position position()
-
first
public boolean first()
-
last
public boolean last()
-
attributes
public org.infinispan.commons.configuration.attributes.AttributeSet attributes()
- Specified by:
attributes
in interfaceBaseConfigurationInfo
- Returns:
- the
AttributeSet
declared by the configuration.
-
getElementDefinition
public org.infinispan.commons.configuration.elements.ElementDefinition getElementDefinition()
- Specified by:
getElementDefinition
in interfaceBaseConfigurationInfo
- Returns:
- the
ElementDefinition
of the configuration.
-
toString
public String toString()
- Overrides:
toString
in classAbstractTypedPropertiesConfiguration
-
-