Package org.apache.camel.impl.engine
Class DefaultValidatorRegistry
java.lang.Object
java.util.AbstractMap<org.apache.camel.spi.ValidatorKey,org.apache.camel.spi.Validator>
org.apache.camel.impl.engine.AbstractDynamicRegistry<org.apache.camel.spi.ValidatorKey,org.apache.camel.spi.Validator>
org.apache.camel.impl.engine.DefaultValidatorRegistry
- All Implemented Interfaces:
AutoCloseable,Map<org.apache.camel.spi.ValidatorKey,,org.apache.camel.spi.Validator> org.apache.camel.Service,org.apache.camel.spi.ValidatorRegistry,org.apache.camel.StaticService
public class DefaultValidatorRegistry
extends AbstractDynamicRegistry<org.apache.camel.spi.ValidatorKey,org.apache.camel.spi.Validator>
implements org.apache.camel.spi.ValidatorRegistry
Default implementation of
ValidatorRegistry.-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
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(org.apache.camel.spi.ValidatorKey key, org.apache.camel.spi.Validator obj) org.apache.camel.spi.ValidatorresolveValidator(org.apache.camel.spi.ValidatorKey key) toString()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
public org.apache.camel.spi.Validator resolveValidator(org.apache.camel.spi.ValidatorKey key) - Specified by:
resolveValidatorin interfaceorg.apache.camel.spi.ValidatorRegistry
-
isStatic
public boolean isStatic(org.apache.camel.spi.DataType type) - Specified by:
isStaticin interfaceorg.apache.camel.spi.ValidatorRegistry
-
isDynamic
public boolean isDynamic(org.apache.camel.spi.DataType type) - Specified by:
isDynamicin interfaceorg.apache.camel.spi.ValidatorRegistry
-
toString
- Overrides:
toStringin classAbstractDynamicRegistry<org.apache.camel.spi.ValidatorKey,org.apache.camel.spi.Validator>
-
put
public org.apache.camel.spi.Validator put(org.apache.camel.spi.ValidatorKey key, org.apache.camel.spi.Validator obj) - Specified by:
putin interfaceMap<org.apache.camel.spi.ValidatorKey,org.apache.camel.spi.Validator> - Overrides:
putin classAbstractDynamicRegistry<org.apache.camel.spi.ValidatorKey,org.apache.camel.spi.Validator>
-