Module g4ds.communitymanager
Management of trusting communities and Members
Grid for Digital Security (G4DS)
Both classes CommunityManager and UserManager are implemented using
the Singleton Pattern. This way, only one instance must exist. Access
this instance by
communitymanager.getCommunityManager
for
the CommunityManager, and
communitymanager.getMemberManager
for the
MemberManager.
Author: Michael Pilgermann
Contact: mailto:mpilgerm@glam.ac.uk
License: GPL (General Public License)
Classes |
Community |
All information about one community |
CommunityGateway |
Maintains information about a Trusting Commuity Gateway. |
CommunityManager |
Responsible for maintaining information about Communities this node is
member of |
Member |
Keeps data for one member. |
MemberManager |
Managing information about members of communities |
getCommunityManager()
Singleton - returns the instance to the community manager
If the instance has not yet been initialised, this will be done.
Finally, the instance is returned.
-
- Returns:
-
The only instance to a Community Manager
(type=CommunityManager )
|
getMemberManager()
Singleton - returns the instance to the member manager
If the instance has not yet been initialised, this will be done.
Finally, the instance is returned.
-
- Returns:
-
The only instance to a Member Manager
(type=MemberManager )
|
_communityManager
Singleton - the only instance ever of the CommunityManager class
-
- Type:
-
CommunityManager
- Value:
|
_memberManager
Singleton - the only instance ever of the MemberManager class
-
- Type:
-
MemberManager
- Value:
|