public class SimpleConnectionGroupDirectory extends SimpleDirectory<ConnectionGroup>
Constructor and Description |
---|
SimpleConnectionGroupDirectory(Collection<ConnectionGroup> groups)
Creates a new SimpleConnectionGroupDirectory which contains the given
groups.
|
Modifier and Type | Method and Description |
---|---|
ConnectionGroup |
putConnectionGroup(ConnectionGroup connectionGroup)
An internal method for modifying the ConnectionGroups in this Directory.
|
ConnectionGroup |
removeConnectionGroup(String identifier)
An internal method for removing a ConnectionGroup from this Directory.
|
add, get, getAll, getIdentifiers, getObjects, remove, setObjects, update
public SimpleConnectionGroupDirectory(Collection<ConnectionGroup> groups)
groups
- A Collection of all groups that should be present in this
connection group directory.public ConnectionGroup putConnectionGroup(ConnectionGroup connectionGroup)
connectionGroup
- The connection group to add or update the
Directory with.public ConnectionGroup removeConnectionGroup(String identifier)
identifier
- The identifier of the ConnectionGroup to remove.Copyright © 2016. All rights reserved.