org.ow2.jasmine.agent.server.groups
Class GroupsManagerSLSB

java.lang.Object
  extended by org.ow2.jasmine.agent.server.groups.GroupsManagerSLSB
All Implemented Interfaces:
GroupsManager

public class GroupsManagerSLSB
extends Object
implements GroupsManager

Stateless Session Bean which enables group management

Author:
Julien Vey

Constructor Summary
GroupsManagerSLSB()
           
 
Method Summary
 void addGroup(Group g)
          Add a grouo
 List<Group> getGroupList()
          Get the group list
 GroupEvent groupToEvent(Group g, GroupEventType type)
          Create a GroupEvent from a group and a GroupEventType
 void removeGroup(Group g)
          Remove a group
 void updateGroup(Group g)
          Update a group
 void updateGroupListOnTopic(GroupEvent event)
          Send an update to the JMS Topic
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupsManagerSLSB

public GroupsManagerSLSB()
Method Detail

addGroup

public void addGroup(Group g)
Description copied from interface: GroupsManager
Add a grouo

Specified by:
addGroup in interface GroupsManager
Parameters:
g - the group to add

getGroupList

public List<Group> getGroupList()
Description copied from interface: GroupsManager
Get the group list

Specified by:
getGroupList in interface GroupsManager
Returns:
the group list

removeGroup

public void removeGroup(Group g)
Description copied from interface: GroupsManager
Remove a group

Specified by:
removeGroup in interface GroupsManager
Parameters:
g - the group to remove

updateGroup

public void updateGroup(Group g)
Description copied from interface: GroupsManager
Update a group

Specified by:
updateGroup in interface GroupsManager
Parameters:
g - the group to update

groupToEvent

public GroupEvent groupToEvent(Group g,
                               GroupEventType type)
Create a GroupEvent from a group and a GroupEventType

Parameters:
g - the group
type - the GroupEvent type
Returns:
the GroupEvent created

updateGroupListOnTopic

public void updateGroupListOnTopic(GroupEvent event)
Send an update to the JMS Topic

Parameters:
event -


Copyright © 2012 OW2 Consortium. All Rights Reserved.