org.jasig.portal.layout.dlm
Class LegacyConfigurationLoader
java.lang.Object
org.jasig.portal.layout.dlm.LegacyConfigurationLoader
- All Implemented Interfaces:
- ConfigurationLoader
- Direct Known Subclasses:
- RDBMConfigurationLoader
public class LegacyConfigurationLoader
- extends Object
- implements ConfigurationLoader
Implementation of ConfigurationLoader that behaves exactly as DLM has
always done: load FragmentDefinition objects from dlm.xml.
- Author:
- awills
|
Field Summary |
protected org.apache.commons.logging.Log |
logger
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected final org.apache.commons.logging.Log logger
LegacyConfigurationLoader
public LegacyConfigurationLoader()
setConfigurationFile
public void setConfigurationFile(Resource configurationFile)
- Parameters:
configurationFile - The dlm.xml file to load configuration from
loadFragmentInfo
protected void loadFragmentInfo()
getFragments
public List<FragmentDefinition> getFragments()
- Specified by:
getFragments in interface ConfigurationLoader
- Returns:
- The available fragment definitions
getProperty
public String getProperty(String propertyName)
- Specified by:
getProperty in interface ConfigurationLoader
- Returns:
- The DLM configuration property
getPropertyCount
public int getPropertyCount()
- Specified by:
getPropertyCount in interface ConfigurationLoader
- Returns:
- The number of properties
getProperties
protected Properties getProperties(NodeList props)
getFragments
protected List<FragmentDefinition> getFragments(NodeList frags)
logConfigFileInfo
protected void logConfigFileInfo()
Copyright © 2010 Jasig. All Rights Reserved.