Class DefaultEndpointRegistry
java.lang.Object
java.util.AbstractMap<org.apache.camel.spi.NormalizedEndpointUri, org.apache.camel.Endpoint>
org.apache.camel.impl.engine.AbstractDynamicRegistry<org.apache.camel.spi.NormalizedEndpointUri, org.apache.camel.Endpoint>
org.apache.camel.impl.engine.DefaultEndpointRegistry
- All Implemented Interfaces:
AutoCloseable, Map<org.apache.camel.spi.NormalizedEndpointUri, org.apache.camel.Endpoint>, org.apache.camel.Service, org.apache.camel.spi.EndpointRegistry, org.apache.camel.StaticService
public class DefaultEndpointRegistry
extends AbstractDynamicRegistry<org.apache.camel.spi.NormalizedEndpointUri, org.apache.camel.Endpoint>
implements org.apache.camel.spi.EndpointRegistry
Default implementation of
EndpointRegistry-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Field Summary
Fields inherited from class AbstractDynamicRegistry
context, dynamicMap, maxCacheSize, routeController, staticMap -
Constructor Summary
ConstructorsConstructorDescriptionDefaultEndpointRegistry(org.apache.camel.CamelContext context) DefaultEndpointRegistry(org.apache.camel.CamelContext context, Map<org.apache.camel.spi.NormalizedEndpointUri, org.apache.camel.Endpoint> endpoints) -
Method Summary
Methods inherited from class AbstractDynamicRegistry
cleanUp, clear, containsValue, dynamicSize, entrySet, get, getMaximumCacheSize, getReadOnlyMap, getReadOnlyValues, isDynamic, isEmpty, isStatic, purge, put, remove, size, start, staticSize, stopMethods inherited from interface org.apache.camel.spi.EndpointRegistry
cleanUp, dynamicSize, getMaximumCacheSize, getReadOnlyMap, getReadOnlyValues, purge, staticSizeMethods inherited from interface Map
clear, compute, computeIfAbsent, computeIfPresent, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesMethods inherited from interface org.apache.camel.Service
build, close, init, start, stop
-
Constructor Details
-
DefaultEndpointRegistry
public DefaultEndpointRegistry(org.apache.camel.CamelContext context) -
DefaultEndpointRegistry
public DefaultEndpointRegistry(org.apache.camel.CamelContext context, Map<org.apache.camel.spi.NormalizedEndpointUri, org.apache.camel.Endpoint> endpoints)
-
-
Method Details
-
isStatic
- Specified by:
isStaticin interfaceorg.apache.camel.spi.EndpointRegistry
-
isDynamic
- Specified by:
isDynamicin interfaceorg.apache.camel.spi.EndpointRegistry
-
containsKey
- Specified by:
containsKeyin interfaceorg.apache.camel.spi.EndpointRegistry- Specified by:
containsKeyin interfaceMap<org.apache.camel.spi.NormalizedEndpointUri, org.apache.camel.Endpoint>- Overrides:
containsKeyin classAbstractDynamicRegistry<org.apache.camel.spi.NormalizedEndpointUri, org.apache.camel.Endpoint>
-
toString
- Overrides:
toStringin classAbstractDynamicRegistry<org.apache.camel.spi.NormalizedEndpointUri, org.apache.camel.Endpoint>
-