Package org.apache.camel
Interface CamelContextAware
- All Superinterfaces:
HasCamelContext
- All Known Subinterfaces:
CamelClusterService
,CamelClusterView
,CamelMetricsService
,CamelPreemptiveClusterService
,CamelPreemptiveClusterView
,CamelTracingService
,Component
,ContextReloadStrategy
,Debugger
,DevConsoleRegistry
,DevConsoleResolver
,EndpointUriFactory
,ExchangeFactory
,ExtendedRoutesBuilderLoader
,HealthCheckRegistry
,HealthCheckResolver
,MessageHistoryFactory
,PooledObjectFactory<T>
,ProcessorExchangeFactory
,ReloadStrategy
,ResourceLoader
,ResourceReloadStrategy
,ResourceResolver
,RouteController
,RoutesBuilderLoader
,RoutesLoader
,RuntimeCamelCatalog
,ScheduledPollConsumerScheduler
,SendDynamicAware
,ServiceRegistry
,SSLContextParametersAware
,SupervisingRouteController
,TypeConverterRegistry
- All Known Implementing Classes:
BaseSSLContextParameters
,FilterParameters
,JsseParameters
,KeyManagersParameters
,KeyStoreParameters
,SecureRandomParameters
,SSLContextClientParameters
,SSLContextParameters
,SSLContextServerParameters
,Transformer
,TrustManagersParameters
,Validator
An interface to represent an object which wishes to be injected with the
CamelContext
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setCamelContext
(CamelContext camelContext) Injects theCamelContext
static <T> T
trySetCamelContext
(T object, CamelContext camelContext) Set theCamelContext
context if the object is an instance ofCamelContextAware
.Methods inherited from interface org.apache.camel.spi.HasCamelContext
getCamelContext
-
Method Details
-
trySetCamelContext
Set theCamelContext
context if the object is an instance ofCamelContextAware
. -
setCamelContext
Injects theCamelContext
- Parameters:
camelContext
- the Camel context
-