org.jasig.portal.layout.dlm
Class RDBMConfigurationLoader

java.lang.Object
  extended by org.jasig.portal.layout.dlm.LegacyConfigurationLoader
      extended by org.jasig.portal.layout.dlm.RDBMConfigurationLoader
All Implemented Interfaces:
ConfigurationLoader

public class RDBMConfigurationLoader
extends LegacyConfigurationLoader

Implementation of ConfigurationLoader that loads FragmentDefinition objects from the database using JPA/Hibernate. You can enable this feature by setting the ConfigurationLoader.impl property in dlm.xml.

Author:
awills

Field Summary
 
Fields inherited from class org.jasig.portal.layout.dlm.LegacyConfigurationLoader
logger
 
Constructor Summary
RDBMConfigurationLoader()
           
 
Method Summary
 List<FragmentDefinition> getFragments()
           
protected  List<FragmentDefinition> getFragments(NodeList frags)
           
 void setFragmentDao(IFragmentDefinitionDao fragmentDao)
           
 
Methods inherited from class org.jasig.portal.layout.dlm.LegacyConfigurationLoader
getProperties, getProperty, getPropertyCount, loadFragmentInfo, logConfigFileInfo, setConfigurationFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RDBMConfigurationLoader

public RDBMConfigurationLoader()
Method Detail

setFragmentDao

public void setFragmentDao(IFragmentDefinitionDao fragmentDao)
Parameters:
fragmentDao - the fragmentDao to set

getFragments

public List<FragmentDefinition> getFragments()
Specified by:
getFragments in interface ConfigurationLoader
Overrides:
getFragments in class LegacyConfigurationLoader
Returns:
The available fragment definitions

getFragments

protected List<FragmentDefinition> getFragments(NodeList frags)
Overrides:
getFragments in class LegacyConfigurationLoader


Copyright © 2010 Jasig. All Rights Reserved.