Package com.tibco.tibjms.admin
Class GroupInfo
- java.lang.Object
- 
- com.tibco.tibjms.admin.PrincipalInfo
- 
- com.tibco.tibjms.admin.GroupInfo
 
 
- 
 public class GroupInfo extends PrincipalInfo This class represents a group on the Tibjms server. A group can contain users (but not other groups) and can be a principal in access control.
- 
- 
Constructor SummaryConstructors Constructor Description GroupInfo(java.lang.Object json)For Internal use only, may be removed or deprecated in future.GroupInfo(java.lang.String groupName)Public constructor to create a GroupInfo with no description.GroupInfo(java.lang.String groupName, java.lang.String description)Public constructor to create a GroupInfo.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description UserInfo[]getUsers()Get the array of users that belong to this group.java.lang.StringtoString()Generate a string representation of this GroupInfo.- 
Methods inherited from class com.tibco.tibjms.admin.PrincipalInfogetDescription, getName, isExternal, setDescription
 
- 
 
- 
- 
- 
Constructor Detail- 
GroupInfopublic GroupInfo(java.lang.String groupName, java.lang.String description)Public constructor to create a GroupInfo. The group will not be created on the server until the GroupInfo is passed to TibjmsAdmin.createGroup().- Parameters:
- groupName- the name of the new group.
- description- the description for the new group.
 
 - 
GroupInfopublic GroupInfo(java.lang.String groupName) Public constructor to create a GroupInfo with no description. The group will not be created on the server until the GroupInfo is passed to TibjmsAdmin.createGroup().- Parameters:
- groupName- the name of the new group.
 
 - 
GroupInfopublic GroupInfo(java.lang.Object json) throws JMSExceptionFor Internal use only, may be removed or deprecated in future.- Throws:
- JMSException
 
 
- 
 - 
Method Detail- 
getUserspublic UserInfo[] getUsers() Get the array of users that belong to this group.- Returns:
- the array of UserInfos that belong to this group.
 
 - 
toStringpublic java.lang.String toString() Generate a string representation of this GroupInfo.- Overrides:
- toStringin class- PrincipalInfo
- Returns:
- a string representation of this GroupInfo.
 
 
- 
 
-