public class MemoizingComponentReference extends Object
ContainerManager and memoize the result.
TODO add the equivalent of this to atlassian spring, to replace LazyComponentReference.| Constructor and Description |
|---|
MemoizingComponentReference() |
| Modifier and Type | Method and Description |
|---|---|
static <T> Supplier<T> |
containerComponent(String name)
Static factory that takes the component name and the type.
|
public static <T> Supplier<T> containerComponent(String name)
Note this is unsafe as it doesn't actually cast until the usage site due to erasure.
T - the component typename - the name of the componentCopyright © 2003–2022 Atlassian. All rights reserved.