mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-07 05:31:22 +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.
|
* A MySQL-based implementation of the connection directory.
|
||||||
*
|
*
|
||||||
* @author James Muehlner
|
* @author James Muehlner
|
||||||
*/
|
*/
|
||||||
public class ConnectionDirectory implements Directory<String, Connection>{
|
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
|
* Inserts all parameter values from the given configuration into the
|
||||||
* database, associating them with the connection having the givenID.
|
* database, associating them with the connection having the givenID.
|
||||||
*
|
*
|
||||||
* @param connection_id The ID of the connection to associate all
|
* @param connection_id The ID of the connection to associate all
|
||||||
* parameters with.
|
* parameters with.
|
||||||
* @param config The GuacamoleConfiguration to read parameters from.
|
* @param config The GuacamoleConfiguration to read parameters from.
|
||||||
@@ -219,7 +219,7 @@ public class ConnectionDirectory implements Directory<String, Connection>{
|
|||||||
ConnectionParameterExample parameterExample = new ConnectionParameterExample();
|
ConnectionParameterExample parameterExample = new ConnectionParameterExample();
|
||||||
parameterExample.createCriteria().andConnection_idEqualTo(connection.getConnection_id());
|
parameterExample.createCriteria().andConnection_idEqualTo(connection.getConnection_id());
|
||||||
connectionParameterDAO.deleteByExample(parameterExample);
|
connectionParameterDAO.deleteByExample(parameterExample);
|
||||||
|
|
||||||
// Add connection parameters
|
// Add connection parameters
|
||||||
createConfigurationValues(connection.getConnection_id(),
|
createConfigurationValues(connection.getConnection_id(),
|
||||||
object.getConfiguration());
|
object.getConfiguration());
|
||||||
|
@@ -68,9 +68,15 @@ public class MySQLConnection extends AbstractConnection {
|
|||||||
*/
|
*/
|
||||||
private List<ConnectionRecord> history = new ArrayList<ConnectionRecord>();
|
private List<ConnectionRecord> history = new ArrayList<ConnectionRecord>();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Service for creating and retrieving objects.
|
||||||
|
*/
|
||||||
@Inject
|
@Inject
|
||||||
private ProviderService providerService;
|
private ProviderService providerService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set of all currently active connections.
|
||||||
|
*/
|
||||||
@Inject
|
@Inject
|
||||||
private ActiveConnectionSet activeConnectionSet;
|
private ActiveConnectionSet activeConnectionSet;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user