BAEL-1108 (#3766)
* 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:
committed by
Predrag Maric
parent
1bb98e491d
commit
c7f9792d54
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user