public class VaadinOnKotlin
| Modifier and Type | Field and Description |
|---|---|
static VaadinOnKotlin |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Destroys the Vaadin-On-Kotlin framework. Just call this from your context listener.
|
java.util.concurrent.ScheduledExecutorService |
getAsyncExecutor()
The executor used by
VaadinOnKotlinKt.async and VaadinOnKotlinKt.scheduleAtFixedRate. You can submit your own tasks as you wish. |
java.util.concurrent.ThreadFactory |
getThreadFactory()
The thread factory used by the
VaadinOnKotlinKt.async method. By default the factory
creates non-daemon threads named "async-ID". |
void |
init()
Initializes the Vaadin-On-Kotlin framework. Just call this from your context listener.
|
boolean |
isStarted()
True if
VaadinOnKotlin.init has been called. |
void |
setThreadFactory(java.util.concurrent.ThreadFactory p)
The thread factory used by the
VaadinOnKotlinKt.async method. By default the factory
creates non-daemon threads named "async-ID". |
public static VaadinOnKotlin INSTANCE
public void init()
Initializes the Vaadin-On-Kotlin framework. Just call this from your context listener.
public void destroy()
Destroys the Vaadin-On-Kotlin framework. Just call this from your context listener.
public boolean isStarted()
True if VaadinOnKotlin.init has been called.
VaadinOnKotlin.initpublic java.util.concurrent.ScheduledExecutorService getAsyncExecutor()
The executor used by VaadinOnKotlinKt.async and VaadinOnKotlinKt.scheduleAtFixedRate. You can submit your own tasks as you wish.
public java.util.concurrent.ThreadFactory getThreadFactory()
The thread factory used by the VaadinOnKotlinKt.async method. By default the factory
creates non-daemon threads named "async-ID".
Needs to be set before VaadinOnKotlin.init is called.
VaadinOnKotlinKt.async,
VaadinOnKotlin.initpublic void setThreadFactory(java.util.concurrent.ThreadFactory p)
The thread factory used by the VaadinOnKotlinKt.async method. By default the factory
creates non-daemon threads named "async-ID".
Needs to be set before VaadinOnKotlin.init is called.
VaadinOnKotlinKt.async,
VaadinOnKotlin.init