[jboss-dev-forums] [Design of JBoss Portal] - Re: Coordination work
bdaw
do-not-reply at jboss.com
Wed Jul 23 03:04:31 EDT 2008
"julien at jboss.com" wrote : Is the alias implementation started (Map<QName, Set>) ? I haven't seen sample yet.
Yes. its in CoordinationConfigurator:
| /**
| * Set alias binding for a given page. If alias with given name already exists it will be overwritten
| *
| * @param page
| * @param aliasName
| * @param qnames
| * @throws IllegalCoordinationException
| */
| void setAliasBinding(Page page, String aliasName, Set<QName> qnames) throws IllegalCoordinationException;
|
| /**
| * Removes alias binding
| *
| * @param aliasInfo
| * @throws IllegalCoordinationException
| */
| void removeAliasBinding(AliasBindingInfo aliasInfo) throws IllegalCoordinationException;
|
| /**
| * @param page
| * @return collection of alias bindings connected to the given page
| */
| Collection<AliasBindingInfo> getAliasBindings(Page page);
So at the moment the alias String name maps Set in scope of page. Should the alias name be QName rather?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166080#4166080
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166080
More information about the jboss-dev-forums
mailing list