Package org.apache.camel.impl.engine
Class DefaultValidatorRegistry
java.lang.Object
java.util.AbstractMap<K,V>
org.apache.camel.impl.engine.AbstractDynamicRegistry<ValidatorKey,org.apache.camel.spi.Validator>
org.apache.camel.impl.engine.DefaultValidatorRegistry
- All Implemented Interfaces:
AutoCloseable,Map<ValidatorKey,,org.apache.camel.spi.Validator> org.apache.camel.Service,org.apache.camel.spi.ValidatorRegistry<ValidatorKey>,org.apache.camel.StaticService
public class DefaultValidatorRegistry
extends AbstractDynamicRegistry<ValidatorKey,org.apache.camel.spi.Validator>
implements org.apache.camel.spi.ValidatorRegistry<ValidatorKey>
Default implementation of
ValidatorRegistry.-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Field Summary
Fields inherited from class org.apache.camel.impl.engine.AbstractDynamicRegistry
context, dynamicMap, maxCacheSize, routeController, staticMap -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisDynamic(org.apache.camel.spi.DataType type) booleanisStatic(org.apache.camel.spi.DataType type) org.apache.camel.spi.Validatorput(ValidatorKey key, org.apache.camel.spi.Validator obj) org.apache.camel.spi.ValidatortoString()Methods inherited from class org.apache.camel.impl.engine.AbstractDynamicRegistry
cleanUp, clear, containsKey, containsValue, dynamicSize, entrySet, get, getMaximumCacheSize, getReadOnlyMap, getReadOnlyValues, isDynamic, isEmpty, isStatic, purge, remove, size, start, staticSize, stopMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesMethods inherited from interface org.apache.camel.Service
build, close, init, start, stopMethods inherited from interface org.apache.camel.spi.ValidatorRegistry
cleanUp, dynamicSize, getMaximumCacheSize, purge, staticSize
-
Constructor Details
-
DefaultValidatorRegistry
public DefaultValidatorRegistry(org.apache.camel.CamelContext context)
-
-
Method Details
-
resolveValidator
- Specified by:
resolveValidatorin interfaceorg.apache.camel.spi.ValidatorRegistry<ValidatorKey>
-
isStatic
public boolean isStatic(org.apache.camel.spi.DataType type) - Specified by:
isStaticin interfaceorg.apache.camel.spi.ValidatorRegistry<ValidatorKey>
-
isDynamic
public boolean isDynamic(org.apache.camel.spi.DataType type) - Specified by:
isDynamicin interfaceorg.apache.camel.spi.ValidatorRegistry<ValidatorKey>
-
toString
- Overrides:
toStringin classAbstractDynamicRegistry<ValidatorKey,org.apache.camel.spi.Validator>
-
put
- Specified by:
putin interfaceMap<ValidatorKey,org.apache.camel.spi.Validator> - Overrides:
putin classAbstractDynamicRegistry<ValidatorKey,org.apache.camel.spi.Validator>
-