Interface DestinationResolver<D>
- All Known Implementing Classes:
BeanFactoryMessageChannelDestinationResolver,CachingDestinationResolverProxy
public interface DestinationResolver<D>
Strategy for resolving a String destination name to an actual destination of type<D>.- Since:
- 4.0
- Author:
- Mark Fisher
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DresolveDestination(String name)Resolve the given destination name.
Method Detail
resolveDestination
D resolveDestination(String name) throws DestinationResolutionException
Resolve the given destination name.- Parameters:
name- the destination name to resolve- Returns:
- the resolved destination (never
null) - Throws:
DestinationResolutionException- if the specified destination wasn't found or wasn't resolvable for any other reason