2015-04-09 21:22:47 +00:00
|
|
|
package wa.server.plugin.apache;
|
|
|
|
|
|
|
|
|
|
import wa.server.WAConstants;
|
2015-07-27 15:10:11 +00:00
|
|
|
import wa.server.plugin.WAServiceConfig;
|
2015-04-09 21:22:47 +00:00
|
|
|
import zutil.db.bean.DBBean;
|
2015-07-27 15:10:11 +00:00
|
|
|
import zutil.db.bean.DBBean.DBTable;;import java.io.IOException;
|
|
|
|
|
import java.sql.SQLException;
|
2015-04-09 21:22:47 +00:00
|
|
|
|
|
|
|
|
@DBTable(WAConstants.DB_TABLE_PREFIX+"_apache_vhost")
|
2015-07-27 15:10:11 +00:00
|
|
|
public class ApacheConfigVirtualHost implements WAServiceConfig{
|
|
|
|
|
public static final String CONFIG_NAME = "Apache Virtual Host";
|
|
|
|
|
|
2015-04-09 21:22:47 +00:00
|
|
|
protected String domain;
|
|
|
|
|
protected String path;
|
|
|
|
|
protected boolean ssl;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public String getDomain() {
|
|
|
|
|
return domain;
|
|
|
|
|
}
|
|
|
|
|
public void setDomain(String domain) {
|
|
|
|
|
this.domain = domain;
|
|
|
|
|
}
|
|
|
|
|
public String getPath() {
|
|
|
|
|
return path;
|
|
|
|
|
}
|
|
|
|
|
public void setPath(String path) {
|
|
|
|
|
this.path = path;
|
|
|
|
|
}
|
|
|
|
|
public boolean isSSL() {
|
|
|
|
|
return ssl;
|
|
|
|
|
}
|
|
|
|
|
public void setSSL(boolean ssl) {
|
|
|
|
|
this.ssl = ssl;
|
|
|
|
|
}
|
2015-07-27 15:10:11 +00:00
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public String getName() {
|
|
|
|
|
return CONFIG_NAME;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public void read() throws SQLException {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public void save() throws IOException {
|
|
|
|
|
|
|
|
|
|
}
|
2015-04-09 21:22:47 +00:00
|
|
|
}
|