org.jasig.portal.services
Class EntityNameFinderService
java.lang.Object
org.jasig.portal.services.EntityNameFinderService
public class EntityNameFinderService
- extends java.lang.Object
- Version:
- $Revision: 1.10 $
- Author:
- Dan Ellentuck
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private static final org.apache.commons.logging.Log log
m_instance
private static EntityNameFinderService m_instance
nameFinders
private java.util.Map nameFinders
initialized
private static boolean initialized
EntityNameFinderService
private EntityNameFinderService()
getNameFinder
public IEntityNameFinder getNameFinder(java.lang.Class type)
throws GroupsException
- Returns:
- org.jasig.portal.groups.IEntityNameFinder
- Throws:
GroupsException
getNameFinders
private java.util.Map getNameFinders()
- Returns:
- java.util.Map
initialize
private void initialize()
- Gets all the entity types and tries to instantiate and cache a finder for each
one. There needn't be a finder for every entity type, so if there's no entry
in the portal.properties, we just log the fact and continue.
instance
public static final EntityNameFinderService instance()
- Returns:
- EntityNameFinderService
isInitialized
private static boolean isInitialized()
- Returns:
- boolean
setInitialized
static void setInitialized(boolean newInitialized)
- Parameters:
newInitialized
- boolean
start
public static void start()