Well, writing that javadoc comment is actually the most complicated part of
this PR.
We don't want it to be too XD centric, it needs to make sense for all
implementations of ChannelRegistry, etc.

Idea is to convey the fact that the binding relates to some sort of
"virtual" name, and that it may not be wired already.


On Fri, Aug 2, 2013 at 4:05 PM, Mark Fisher <notifications@github.com>wrote:

> In
> spring-xd-dirt/src/main/java/org/springframework/integration/x/channel/registry/ChannelRegistry.java:
>
> >  	 * @param name the logical identity of the message source
> >  	 * @param moduleInputChannel the channel bound as a consumer
> >  	 * @param acceptedMediaTypes the media types supported by the channel
> > +	 * @param aliasHint whether the provided name represents an alias and thus should support late binding
>
> The param name "aliasHint" is not very intuitive (at least to me), and it
> also doesn't sound like a boolean to me; I would expect something like
> 'isAlias'. That said, I don't actually view the name as an "alias" in the
> first place... what is it an alias for?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/SpringSource/spring-xd/pull/171/files#r5553222>
> .
>