public abstract class ViewContextBase extends Object implements ViewContext, Destructible
ViewContext
. Serves as a helper
to the ViewContextProxy
which in turn produces the
non-abstract implementations on the fly.Constructor and Description |
---|
ViewContextBase() |
ViewContextBase(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 ViewContext> |
getViewContextType() |
Map<String,ContextProperty> |
properties() |
public ViewContextBase()
public ViewContextBase(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 ViewContext> getViewContextType()
Copyright © 2019 Magnolia International Ltd.. All rights reserved.