It's possible to use custom plugins to extend or configure the JVx' server implementation. Since JVx 2.1, it's possible to implement custom plugins. The interface is com.sibvisions.rad.server.plugin.IServerPlugin
and has a small number of methods:
public interface IServerPlugin { public void install(IServer pServer); public void uninstall(IServer pServer); }
The server will load all plugins from the server zone. Simply register your plugin via config.xml:
<?xml version="1.0" encoding="UTF-8"?> <server> ... <plugin class="com.special.plugin.MyPlugin" /> </server>
It's guaranteed that the default server configuration was finished before a plugin will be installed.