SimpleDirectory
instead.@Deprecated public class SimpleConnectionDirectory extends SimpleDirectory<Connection>
Constructor and Description |
---|
SimpleConnectionDirectory(Collection<Connection> connections)
Deprecated.
Creates a new SimpleConnectionDirectory which provides access to the
connections contained within the given Map.
|
Modifier and Type | Method and Description |
---|---|
Connection |
putConnection(Connection connection)
Deprecated.
An internal method for modifying the Connections in this Directory.
|
Connection |
removeConnection(String identifier)
Deprecated.
An internal method for removing a Connection from this Directory.
|
add, get, getAll, getIdentifiers, getObjects, remove, setObjects, update
public SimpleConnectionDirectory(Collection<Connection> connections)
connections
- A Collection of all connections that should be present in this
connection directory.public Connection putConnection(Connection connection)
connection
- The connection to add or update the Directory with.public Connection removeConnection(String identifier)
identifier
- The identifier of the Connection to remove.Copyright © 2018. All rights reserved.