public class JcrDataSourceObservation extends Object implements Destructible
Constructor and Description |
---|
JcrDataSourceObservation(JcrObservation jcrObservation) |
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Perform arbitrary clean-up logic upon component destruction
by the framework.
|
void |
register(JcrDatasourceDefinition datasourceDefinition,
com.vaadin.data.provider.DataProvider dataProvider) |
public JcrDataSourceObservation(JcrObservation jcrObservation)
public void register(JcrDatasourceDefinition datasourceDefinition, com.vaadin.data.provider.DataProvider dataProvider)
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
Copyright © 2019 Magnolia International Ltd.. All rights reserved.