public abstract class UiComponentContextBase extends Object implements UiComponentContext, Destructible
UiComponentContext
. Serves as a helper
to the UiComponentContextProxy
which in turn produces the
non-abstract implementations on the fly.Constructor and Description |
---|
UiComponentContextBase() |
UiComponentContextBase(Map<String,ContextProperty> properties) |
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Perform arbitrary clean-up logic upon component destruction
by the framework.
|
abstract Class<? extends UiComponentContext> |
getUiComponentContextType() |
Map<String,ContextProperty> |
properties() |
public UiComponentContextBase()
public UiComponentContextBase(Map<String,ContextProperty> properties)
public Map<String,ContextProperty> properties()
public void destroy()
Destructible
Note that Destructible.destroy()
method may be called outside of UI thread, e.g.
when the whole instance of admincentral gets disposed as result of heartbeat
checks. This means that neither Magnolia, nor Vaadin thread locals will be reliably
present upon that method invocation.
destroy
in interface Destructible
public abstract Class<? extends UiComponentContext> getUiComponentContextType()
Copyright © 2020 Magnolia International Ltd.. All rights reserved.