This interface is implemented by each plugin. It is the starting point of the plugin and is called by the kernel when the plugin is loaded.

The interface contains only one method.

void startPlugin(@NotNull URL aUrl,
                 @NotNull ClassLoader aClassLoader,
                 @NotNull IServiceRegistry aServiceRegistry) throws CException;

In this method the module is initialized, i.e. all necessary classes are instantiated or similar.

You can find an example for the initialization of a plugin here.

nyssr.net - Innovative Distributed System