package org.atricore.idbus.bundles.apache.derby;
/**
* @author <a href="mailto:sgonzalez@atricore.org">Sebastian Gonzalez Oyuela</a>
* @version $Id$
*/
public class NetworkServerDescriptor {
private String hostname;
private int port = 1527;
private String username = "atricore";
private String password = "admin";
// Server startup timeout, default value 60 seconds
private int timeout = 60;
public String getHostname() {
return hostname;
}
public void setHostname(String hostname) {
this.hostname = hostname;
}
public int getPort() {
return port;
}
public void setPort(int port) {
this.port = port;
}
public String getUsername() {
return username;
}
public void setUsername(String username) {
this.username = username;
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
/**
* Startup timeout, in secconds
* @param timeout
*/
public void setTimeout(int timeout) {
this.timeout = timeout;
}
public int getTimeout() {
return timeout;
}
}