--Registering server-side plugins
1 post
• Page 1 of 1
--Registering server-side plugins
This article is outdated - please use our new system at
https://doc.sibvisions.com
It's possible to use custom plugins to extend or configure the JVx' server implementation. With JVx 2.1 it will be 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);
}
{
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>
<server>
...
<plugin class="com.special.plugin.MyPlugin" />
</server>
It's guaranteed that the default server configuration was finished before a plugin will be installed.
-
Development@SIB - Posts: 325
- Joined: Mon Sep 28, 2009 1:54 pm
1 post
• Page 1 of 1