* BAEL-399: A Guide to Multitenancy in Hibernate 5

* Removed unused properties in profile 2

* Changes after code review

* Add XML, JavaConfig and Autowired examples.

* BAEL-1517: Added Java7 style assertions

* BAEL-1517: Upgrade AssertJ to 3.9.0;
add Java 8 style assertion tests

* Revert "Add XML, JavaConfig and Autowired examples."

This reverts commit 8f4df6b903.

* BAEL-1517: Editor Review changes

* BAEL-1517: Formatting...

* BAEL-1572: AWS EC2 examples

* BAEL-1108

* BAEL-1570 (#3762)

* Create pom.xml

* Update pom.xml

* Create pom.xml

* Update pom.xml

* add impl

* add app

* minor cleanup

* testing work

* testing work

* testing work

* testing work

* cleanup work

* unused import cleanup

* cleanup work for tests

* formatting work

* testing cleanup

* minior rename

* cleanup work

* added link to article (#3768)

* Fixed tests and renamed test names

* BAEL-1108 Formatting
This commit is contained in:
Jose Carvajal
2018-03-07 04:16:38 +01:00
committed by Predrag Maric
parent 1bb98e491d
commit c7f9792d54
8 changed files with 410 additions and 0 deletions
@@ -0,0 +1,31 @@
package com.baeldung.apache.curator.modeled;
public class HostConfig {
private String hostname;
private int port;
public HostConfig() {
}
public HostConfig(String hostname, int port) {
this.hostname = hostname;
this.port = port;
}
public int getPort() {
return port;
}
public void setPort(int port) {
this.port = port;
}
public String getHostname() {
return hostname;
}
public void setHostname(String hostname) {
this.hostname = hostname;
}
}