Trace: Server Plugins


Server Plugins

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"?>
  <plugin class="com.special.plugin.MyPlugin" />  

It's guaranteed that the default server configuration was finished before a plugin will be installed.

This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information