java/sql-dk/src/info/globalcode/sql/dk/configuration/DatabaseDefinition.java
branchv_0
changeset 203 504c4ba56d1c
parent 194 629c9c7eab01
     1.1 --- a/java/sql-dk/src/info/globalcode/sql/dk/configuration/DatabaseDefinition.java	Sun Jun 21 16:21:51 2015 +0200
     1.2 +++ b/java/sql-dk/src/info/globalcode/sql/dk/configuration/DatabaseDefinition.java	Sat Aug 15 09:40:22 2015 +0200
     1.3 @@ -57,6 +57,10 @@
     1.4  	 * JDBC properties
     1.5  	 */
     1.6  	private Properties properties = new Properties();
     1.7 +	/**
     1.8 +	 * optional definition of tunnel to the remote database
     1.9 +	 */
    1.10 +	private TunnelDefinition tunnel;
    1.11  
    1.12  	@XmlElement(name = "name", namespace = CONFIGURATION)
    1.13  	@Override
    1.14 @@ -112,6 +116,14 @@
    1.15  		this.properties = properties;
    1.16  	}
    1.17  
    1.18 +	public TunnelDefinition getTunnel() {
    1.19 +		return tunnel;
    1.20 +	}
    1.21 +
    1.22 +	public void setTunnel(TunnelDefinition tunnel) {
    1.23 +		this.tunnel = tunnel;
    1.24 +	}
    1.25 +
    1.26  	/**
    1.27  	 * @param properties ad-hoc properties from CLI options (for the JDBC driver)
    1.28  	 * @param jmxBean JMX management bean for progress reporting | null = disable JMX