Package org.apache.camel.spi
Interface ResourceReloadStrategy
-
- All Superinterfaces:
AutoCloseable
,CamelContextAware
,ReloadStrategy
,Service
,StaticService
public interface ResourceReloadStrategy extends ReloadStrategy
SPI strategy for reloadingResource
in an existing runningCamelContext
- See Also:
ContextReloadStrategy
,ResourceReload
,Resource
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResourceReload
getResourceReload()
Gets 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
getCamelContext, setCamelContext
-
Methods inherited from interface org.apache.camel.spi.ReloadStrategy
getFailedCounter, getReloadCounter, onReload, resetCounters
-
-
-
-
Method Detail
-
getResourceReload
ResourceReload getResourceReload()
Gets the resource listener that is triggered on reload.
-
setResourceReload
void setResourceReload(ResourceReload listener)
Sets the resource listener to trigger on reload.
-
-