Package org.apache.camel.spi
Interface ResourceReloadStrategy
- All Superinterfaces:
AutoCloseable
,CamelContextAware
,HasCamelContext
,ReloadStrategy
,Service
,StaticService
SPI strategy for reloading
Resource
in an existing running CamelContext
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionGets the resource listener that is triggered on reload.void
setResourceReload
(ResourceReload listener) Sets the resource listener to trigger on reload.Methods inherited from interface org.apache.camel.CamelContextAware
setCamelContext
Methods inherited from interface org.apache.camel.spi.HasCamelContext
getCamelContext
Methods inherited from interface org.apache.camel.spi.ReloadStrategy
getFailedCounter, getReloadCounter, onReload, resetCounters
-
Method Details
-
getResourceReload
ResourceReload getResourceReload()Gets the resource listener that is triggered on reload. -
setResourceReload
Sets the resource listener to trigger on reload.
-