Package org.apache.camel.impl.engine
Class DefaultEndpointRegistry
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- org.apache.camel.impl.engine.AbstractDynamicRegistry<EndpointKey,org.apache.camel.Endpoint>
-
- org.apache.camel.impl.engine.DefaultEndpointRegistry
-
- All Implemented Interfaces:
AutoCloseable
,Map<EndpointKey,org.apache.camel.Endpoint>
,org.apache.camel.Service
,org.apache.camel.spi.EndpointRegistry<EndpointKey>
,org.apache.camel.StaticService
public class DefaultEndpointRegistry extends AbstractDynamicRegistry<EndpointKey,org.apache.camel.Endpoint> implements org.apache.camel.spi.EndpointRegistry<EndpointKey>
Default implementation ofEndpointRegistry
-
-
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 Constructor Description DefaultEndpointRegistry(org.apache.camel.CamelContext context)
DefaultEndpointRegistry(org.apache.camel.CamelContext context, Map<EndpointKey,org.apache.camel.Endpoint> endpoints)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isDynamic(String key)
boolean
isStatic(String key)
String
toString()
-
Methods inherited from class org.apache.camel.impl.engine.AbstractDynamicRegistry
cleanUp, clear, containsKey, containsValue, dynamicSize, entrySet, get, getMaximumCacheSize, isDynamic, isEmpty, isStatic, purge, put, remove, size, start, staticSize, stop
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.camel.spi.EndpointRegistry
cleanUp, dynamicSize, getMaximumCacheSize, purge, staticSize
-
Methods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
-
-
-
Constructor Detail
-
DefaultEndpointRegistry
public DefaultEndpointRegistry(org.apache.camel.CamelContext context)
-
DefaultEndpointRegistry
public DefaultEndpointRegistry(org.apache.camel.CamelContext context, Map<EndpointKey,org.apache.camel.Endpoint> endpoints)
-
-
Method Detail
-
isStatic
public boolean isStatic(String key)
- Specified by:
isStatic
in interfaceorg.apache.camel.spi.EndpointRegistry<EndpointKey>
-
isDynamic
public boolean isDynamic(String key)
- Specified by:
isDynamic
in interfaceorg.apache.camel.spi.EndpointRegistry<EndpointKey>
-
toString
public String toString()
- Overrides:
toString
in classAbstractDynamicRegistry<EndpointKey,org.apache.camel.Endpoint>
-
-