接口 DestinationResolver<D>
public interface DestinationResolver<D>
Strategy for resolving a String destination name to an actual destination of type<D>
.- 从以下版本开始:
- 4.0
- 作者:
- Mark Fisher
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 D
resolveDestination(String name)
Resolve the given destination name.
方法详细资料
resolveDestination
D resolveDestination(String name) throws DestinationResolutionException
Resolve the given destination name.- 参数:
name
- the destination name to resolve- 返回:
- the resolved destination (never
null
) - 抛出:
DestinationResolutionException
- if the specified destination wasn't found or wasn't resolvable for any other reason