public final class CurrentUiContextReference extends Object implements Serializable
CurrentUiContextReference
provides information
about the context in which the dependency injection has been initiated (i.e. what is
currently trying to inject instances, the app, it sub-app, a view or admincentral itself?).
Besides of a concretely specified current UI context reference
it provides
convenience look-up for the closest app, sub-app and view contexts.
Constructor and Description |
---|
CurrentUiContextReference() |
Modifier and Type | Method and Description |
---|---|
static CurrentUiContextReference |
get() |
UiContextReference |
getUiContextReference() |
void |
setUiContextReference(UiContextReference uiContextReference) |
public static CurrentUiContextReference get()
public UiContextReference getUiContextReference()
public void setUiContextReference(UiContextReference uiContextReference)
Copyright © 2020 Magnolia International Ltd.. All rights reserved.