Class CustomInterceptorsConfiguration
- java.lang.Object
-
- org.infinispan.configuration.cache.CustomInterceptorsConfiguration
-
- All Implemented Interfaces:
Matchable<CustomInterceptorsConfiguration>,BaseConfigurationInfo,ConfigurationInfo
public class CustomInterceptorsConfiguration extends java.lang.Object implements Matchable<CustomInterceptorsConfiguration>, ConfigurationInfo
Configures custom interceptors to be added to the cache.- Author:
- pmuir
-
-
Constructor Summary
Constructors Constructor Description CustomInterceptorsConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)ElementDefinitiongetElementDefinition()inthashCode()java.util.List<InterceptorConfiguration>interceptors()This specifies a list ofInterceptorConfigurationinstances to be referenced when building the interceptor chain.CustomInterceptorsConfigurationinterceptors(java.util.List<InterceptorConfiguration> interceptors)java.util.List<ConfigurationInfo>subElements()java.lang.StringtoString()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.infinispan.commons.configuration.BaseConfigurationInfo
attributes
-
-
-
-
Method Detail
-
interceptors
public java.util.List<InterceptorConfiguration> interceptors()
This specifies a list ofInterceptorConfigurationinstances to be referenced when building the interceptor chain.- Returns:
- A list of
InterceptorConfigurations. May be an empty list, will never be null.
-
interceptors
public CustomInterceptorsConfiguration interceptors(java.util.List<InterceptorConfiguration> interceptors)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
getElementDefinition
public ElementDefinition getElementDefinition()
- Specified by:
getElementDefinitionin interfaceBaseConfigurationInfo- Returns:
- the
ElementDefinitionof the configuration.
-
subElements
public java.util.List<ConfigurationInfo> subElements()
- Specified by:
subElementsin interfaceConfigurationInfo- Returns:
- the list of sub elements.
-
-