接口 CachingDestinationResolver
- 所有超级接口:
DestinationResolver
- 所有已知实现类:
JndiDestinationResolver
public interface CachingDestinationResolver extends DestinationResolver
Extension of the DestinationResolver interface, exposing methods for clearing the cache.- 从以下版本开始:
- 2.0
- 作者:
- Juergen Hoeller
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 void
clearCache()
Clear the entire destination cache.void
removeFromCache(String destinationName)
Remove the destination with the given name from the cache (if cached by this resolver in the first place).从接口继承的方法 org.springframework.jms.support.destination.DestinationResolver
resolveDestinationName
方法详细资料
removeFromCache
void removeFromCache(String destinationName)
Remove the destination with the given name from the cache (if cached by this resolver in the first place).To be called if access to the specified destination failed, assuming that the JMS Destination object might have become invalid.
- 参数:
destinationName
- the name of the destination
clearCache
void clearCache()
Clear the entire destination cache.To be called in case of general JMS provider failure.