mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 21:27:40 +00:00
Ticket #269: Add missing JavaDoc for MySQLConnection, remove whitespace at ends of lines.
This commit is contained in:
@@ -57,7 +57,7 @@ import org.mybatis.guice.transactional.Transactional;
|
||||
|
||||
/**
|
||||
* A MySQL-based implementation of the connection directory.
|
||||
*
|
||||
*
|
||||
* @author James Muehlner
|
||||
*/
|
||||
public class ConnectionDirectory implements Directory<String, Connection>{
|
||||
@@ -171,7 +171,7 @@ public class ConnectionDirectory implements Directory<String, Connection>{
|
||||
/**
|
||||
* Inserts all parameter values from the given configuration into the
|
||||
* database, associating them with the connection having the givenID.
|
||||
*
|
||||
*
|
||||
* @param connection_id The ID of the connection to associate all
|
||||
* parameters with.
|
||||
* @param config The GuacamoleConfiguration to read parameters from.
|
||||
@@ -219,7 +219,7 @@ public class ConnectionDirectory implements Directory<String, Connection>{
|
||||
ConnectionParameterExample parameterExample = new ConnectionParameterExample();
|
||||
parameterExample.createCriteria().andConnection_idEqualTo(connection.getConnection_id());
|
||||
connectionParameterDAO.deleteByExample(parameterExample);
|
||||
|
||||
|
||||
// Add connection parameters
|
||||
createConfigurationValues(connection.getConnection_id(),
|
||||
object.getConfiguration());
|
||||
|
@@ -68,9 +68,15 @@ public class MySQLConnection extends AbstractConnection {
|
||||
*/
|
||||
private List<ConnectionRecord> history = new ArrayList<ConnectionRecord>();
|
||||
|
||||
/**
|
||||
* Service for creating and retrieving objects.
|
||||
*/
|
||||
@Inject
|
||||
private ProviderService providerService;
|
||||
|
||||
/**
|
||||
* Set of all currently active connections.
|
||||
*/
|
||||
@Inject
|
||||
private ActiveConnectionSet activeConnectionSet;
|
||||
|
||||
|
Reference in New Issue
Block a user