Added a Config page. Currently unreachable.
This commit is contained in:
parent
b115a9cb4f
commit
ee19d84434
11 changed files with 157 additions and 27 deletions
|
|
@ -1,11 +1,15 @@
|
|||
package wa.server.plugin.apache;
|
||||
|
||||
import wa.server.WAConstants;
|
||||
import wa.server.plugin.WAServiceConfig;
|
||||
import zutil.db.bean.DBBean;
|
||||
import zutil.db.bean.DBBean.DBTable;;
|
||||
import zutil.db.bean.DBBean.DBTable;;import java.io.IOException;
|
||||
import java.sql.SQLException;
|
||||
|
||||
@DBTable(WAConstants.DB_TABLE_PREFIX+"_apache_vhost")
|
||||
public class ApacheConfigVirtualHost extends DBBean{
|
||||
public class ApacheConfigVirtualHost implements WAServiceConfig{
|
||||
public static final String CONFIG_NAME = "Apache Virtual Host";
|
||||
|
||||
protected String domain;
|
||||
protected String path;
|
||||
protected boolean ssl;
|
||||
|
|
@ -30,4 +34,19 @@ public class ApacheConfigVirtualHost extends DBBean{
|
|||
public void setSSL(boolean ssl) {
|
||||
this.ssl = ssl;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getName() {
|
||||
return CONFIG_NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void read() throws SQLException {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void save() throws IOException {
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue