public class MemoizingComponentReference extends Object
ContainerManagerand memoize the result. TODO add the equivalent of this to atlassian spring, to replace
|Constructor and Description|
|Modifier and Type||Method and Description|
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 type
name- the name of the component
Copyright © 2003–2020 Atlassian. All rights reserved.