ConfigPage continuation

This commit is contained in:
Ziver Koc 2015-09-26 21:19:24 +00:00
parent e3497c4718
commit 224372f0ad
7 changed files with 448 additions and 55 deletions

View file

@ -1,6 +1,8 @@
package wa.server.plugin;
import java.util.List;
public interface WAServiceConfig {
/**
* @return the String name of this configuration type
@ -21,4 +23,18 @@ public interface WAServiceConfig {
* Configure service with current configuration data
*/
public void configure() throws Exception;
/**
* @return a list of configuration objects, the object
* configuration can be changed with the
* {@link zutil.db.bean.Configurator} class.
*/
public List<?> getConfigData();
/**
* @return the class that contains the configuration data
*/
public Class<?> getConfigClass();
}