org.exoplatform.social.common.router
Class ExoRouterConfig

java.lang.Object
  extended by org.exoplatform.container.component.BaseComponentPlugin
      extended by org.exoplatform.social.common.router.ExoRouterConfig
All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin

public class ExoRouterConfig
extends org.exoplatform.container.component.BaseComponentPlugin


Field Summary
 
Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin
desc, name
 
Constructor Summary
ExoRouterConfig()
           
ExoRouterConfig(org.exoplatform.container.xml.InitParams initParams)
           
 
Method Summary
 Map<String,String> getRouteMapping()
          Gets the associated activity key type mapping from URI Pattern.
 void setRouteMapping(Map<String,String> mapping)
          Sets the associated ActionName key type mapping from this URI Pattern.
 
Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin
getDescription, getName, setDescription, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExoRouterConfig

public ExoRouterConfig()

ExoRouterConfig

public ExoRouterConfig(org.exoplatform.container.xml.InitParams initParams)
Method Detail

getRouteMapping

public Map<String,String> getRouteMapping()
Gets the associated activity key type mapping from URI Pattern.

Returns:

setRouteMapping

public void setRouteMapping(Map<String,String> mapping)
Sets the associated ActionName key type mapping from this URI Pattern.

Parameters:
mapping - the hash map of key as ActionName and value as URI Pattern


Copyright © 2003–2014 eXo Platform SAS. All rights reserved.