com.ibm.ccd.ui.mediator
Class ConfigManager
java.lang.Object
com.ibm.ccd.ui.mediator.ConfigManager
public class ConfigManager
- extends java.lang.Object
Represents the Config Information related to the Mediator and others.
Presently the support is added to parse and keep the SoapActionURLs,
Portlet Actions to pages mapping information
and Timezones exported from WPC.
Note: In order to use this , it must be intialized by the ServletContext.
typically this is done by the MediatorInitializer Servlet.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COMP_NAME
public static final java.lang.String COMP_NAME
- See Also:
- Constant Field Values
WPC_PORTLETACTION_TO_PAGE_ELEMENT_TAG
public static final java.lang.String WPC_PORTLETACTION_TO_PAGE_ELEMENT_TAG
- See Also:
- Constant Field Values
WPC_PORTLETACTION_TO_PAGE_ACTION_TAG
public static final java.lang.String WPC_PORTLETACTION_TO_PAGE_ACTION_TAG
- See Also:
- Constant Field Values
WPC_PROPERTY_ELEMENT_TAG
public static final java.lang.String WPC_PROPERTY_ELEMENT_TAG
- See Also:
- Constant Field Values
WPC_PROPERTY_NAME_ELEMENT_TAG
public static final java.lang.String WPC_PROPERTY_NAME_ELEMENT_TAG
- See Also:
- Constant Field Values
getInstance
public static ConfigManager getInstance()
- Returns the ConfigManager instance
init
public void init(javax.servlet.ServletContext servletContext)
- Initalizes by resolving the realpath from the servlet config.
- See Also:
ServletContext
cacheXMLTemplates
public void cacheXMLTemplates(java.lang.String templateDir)
- Parameters:
templateDir
-
getSoapActionURLs
public java.util.HashMap getSoapActionURLs()
- Returns:
- SoapAction-URL Map
getTimeZones
public NVPair[] getTimeZones()
- Returns:
- TimeZone as an NVPair Array
- See Also:
NVPair
getCacheConfigTemplates
public java.util.HashMap getCacheConfigTemplates()
setCacheConfigTemplates
public void setCacheConfigTemplates(java.util.HashMap cacheConfigTemplates)
- Parameters:
cacheConfigTemplates
- The cacheConfigTemplates to set.
getPortletActionToPageMappings
public java.util.HashMap getPortletActionToPageMappings()
- Returns:
- PortletAction to Page Map
getFrameworkConfig
public java.util.HashMap getFrameworkConfig()
- Returns:
- List of configured FrameworkConfig
Currently this supports just one frameworkConfig.
getLdapProp
public java.util.Properties getLdapProp()
- Returns:
- Returns the ldapProp.
isLdapEnabled
public boolean isLdapEnabled()
setLdapProp
public void setLdapProp(java.util.Properties ldapProp)
- Parameters:
ldapProp
- The ldapProp to set.
isAPIEnabled
public boolean isAPIEnabled()