[jboss-dev-forums] [Design of JBoss Portal] - Re: Coordination work

julien@jboss.com do-not-reply at jboss.com
Wed Jul 23 04:21:44 EDT 2008


is it configurable from XML already ?

"bdaw" wrote : "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=4166090#4166090

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166090



More information about the jboss-dev-forums mailing list