-
public interface VOKPluginImplement this interface to be invoked from VaadinOnKotlin.init and VaadinOnKotlin.destroy methods. The plugins are initialized in random order.
VOK uses java.util.ServiceLoader to discover instances of this interface. To register, just create a file named
META-INF/services/eu.vaadinonkotlin.VOKPlugininsrc/main/resourcesand list all full class names of classes implementing this interface.You can e.g. use this feature to attach extension fields to VaadinOnKotlin and initialize them.
-
-
Method Summary
Modifier and Type Method Description abstract Unitinit()Called from VaadinOnKotlin.init. abstract Unitdestroy()Called from VaadinOnKotlin.destroy. -
-
Method Detail
-
init
abstract Unit init()
Called from VaadinOnKotlin.init.
-
destroy
abstract Unit destroy()
Called from VaadinOnKotlin.destroy.
-
-
-
-