Polishing
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2013 the original author or authors.
|
||||
* Copyright 2002-2014 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -17,7 +17,7 @@
|
||||
package org.springframework.messaging.core;
|
||||
|
||||
/**
|
||||
* Strategy for resolving a String destination name into an actual destination
|
||||
* Strategy for resolving a String destination name to an actual destination
|
||||
* of type {@code <D>}.
|
||||
*
|
||||
* @author Mark Fisher
|
||||
@@ -28,7 +28,9 @@ public interface DestinationResolver<D> {
|
||||
/**
|
||||
* Resolve the given destination name.
|
||||
* @param name the destination name to resolve
|
||||
* @return the destination, never {@code null}
|
||||
* @return the resolved destination (never {@code null})
|
||||
* @throws DestinationResolutionException if the specified destination
|
||||
* wasn't found or wasn't resolvable for any other reason
|
||||
*/
|
||||
D resolveDestination(String name) throws DestinationResolutionException;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user