public VOKPlugin
Implement 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/com.github.vok.framework.VOKPlugin in src/main/resources
and list all full class names of classes implementing this interface.
You can e.g. use this feature to attach extension fields to class VaadinOnKotlin and initialize them.
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Called from
VaadinOnKotlin.destroy. |
void |
init()
Called from
VaadinOnKotlin.init. |
void init()
Called from VaadinOnKotlin.init.
VaadinOnKotlin.initvoid destroy()
Called from VaadinOnKotlin.destroy.
VaadinOnKotlin.destroy