com.zphinx.spine.utils
Class PersistentGroups

java.lang.Object
  extended by com.zphinx.spine.utils.PersistentGroups

public class PersistentGroups
extends Object

A singleton used to monitor/audit Role data.It monitors the ActiveGroups object which contains details of registered Groups and logged users.

It uses a TimerTask object to remove stale users from their associated roles and cleanses the registered ActiveGroups object.

Version:
$Revision: 1.12 $ $Date: 2008/06/15 01:47:10 $

copyright ©Zphinx Software Solutions

Author:
David Ladapo
See Also:
ActiveGroups

Method Summary
 boolean getCreatedFlag()
          A boolean indicating if we have a populated ActiveGroups object
protected static void getInstance()
          A utility method to return an instance of this object
static ActiveGroups getMap()
          Get the activeGroups map
static void setMap(ActiveGroups map)
          Set the ActiveGroups object to associate with this object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setMap

public static void setMap(ActiveGroups map)
                   throws SpineException
Set the ActiveGroups object to associate with this object

Parameters:
map - The ActiveGroups Object to store
Throws:
SpineException

getInstance

protected static void getInstance()
A utility method to return an instance of this object


getMap

public static ActiveGroups getMap()
Get the activeGroups map

Returns:
ActiveGroups The map of active groups in the system

getCreatedFlag

public boolean getCreatedFlag()
A boolean indicating if we have a populated ActiveGroups object

Returns:
boolean a boolean indicating the presence of an ActiveGroups object