org.jasig.portal.services
Class EntityPropertyRegistry
java.lang.Object
org.jasig.portal.services.EntityPropertyRegistry
public class EntityPropertyRegistry
- extends Object
A Service to allow the querying and storing of properties relating
to portal entities. Configured using /properties/EntityPropertyRegistry.xml
see dtds/EntityPropertyRegistry.dtd for configuration file grammar
- Version:
- $Revision: 19776 $
- Author:
- Alex Vigdor av317@columbia.edu, Don Fracapane df7@columbia.edu
Removed caching from this class and delegated it to the finder classes. Each
finder can choose the method of caching if caching is appropriate.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_instance
protected static EntityPropertyRegistry _instance
store
protected IEntityPropertyStore store
storePrecedence
protected int storePrecedence
finders
protected IEntityPropertyFinder[] finders
finderTypes
protected Object[] finderTypes
propsType
protected Class propsType
EntityPropertyRegistry
protected EntityPropertyRegistry()
init
protected void init()
throws Exception
- Throws:
Exception
instance
public static EntityPropertyRegistry instance()
getPropertyNames
public static String[] getPropertyNames(EntityIdentifier entityID)
getProperty
public static String getProperty(EntityIdentifier entityID,
String name)
storeProperty
public static void storeProperty(EntityIdentifier entityID,
String name,
String value)
unStoreProperty
public static void unStoreProperty(EntityIdentifier entityID,
String name)
getPropKey
protected String getPropKey(EntityIdentifier entityID)
getProperties
protected EntityProperties getProperties(EntityIdentifier entityID)
clearCache
public void clearCache(EntityIdentifier entityID)
addToCache
public void addToCache(EntityProperties ep)
getCachedProperties
public EntityProperties getCachedProperties(EntityIdentifier entityID)
Copyright © 2010 Jasig. All Rights Reserved.