| java.lang.Object org.cougaar.community.CommunityCache
All known Subclasses: org.cougaar.community.test.CommunityCacheTestImpl,
Inner Class :class CacheEntry | |
expirationPeriod | protected long expirationPeriod(Code) | | |
addListener | public void addListener(CommunityChangeListener l)(Code) | | Add listener to be notified when a change occurs to community.
Parameters: l - Listener to be notified |
contains | public synchronized boolean contains(String name)(Code) | | |
getAncestorNames | public Set getAncestorNames(String entityName, boolean recursive)(Code) | | Searches cache for all ancestors of specified entity.
Parameters: entityName - Entity name Parameters: recursive - If true all ancestors are retrieved, if false only immediateparents List of communities having specified community as a descendent |
getListeners | protected Set getListeners(String communityName)(Code) | | Gets listeners.
Parameters: communityName - Name of communtiy Set of CommunityListeners. |
getSystemProperties | protected void getSystemProperties()(Code) | | |
listAll | public synchronized Set listAll()(Code) | | |
removeListener | public boolean removeListener(CommunityChangeListener l)(Code) | | Removes listener from change notification list.
Parameters: l - Listener to be removed |
search | public synchronized Set search(String filter)(Code) | | Searches all communities in cache for a community matching search filter
Parameters: filter - JNDI-compliant search filter Set of Community object matching search criteria |
search | public Set search(String communityName, String filter, int qualifier, boolean recursive)(Code) | | Searches community for all entities matching search filter
Parameters: communityName - Name of community to search Parameters: filter - JNDI-compliant search filter Parameters: qualifier - Restict returned Entities to AGENTS_ONLY, COMMUNITIES_ONLY,or ALL_ENTITIES (refer to org.cougaar.core.service.community.Communityfor values) Parameters: recursive - Controls whether search includes nested communities if any Set of Entity objects matching search criteria |
|
|