LazyComponentReference.@Deprecated public class LazyComponentReference extends Object
ContainerManager and memoize the result.| Constructor and Description |
|---|
LazyComponentReference()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> com.atlassian.util.concurrent.Supplier<T> |
containerComponent(String name)
Deprecated.
Static factory that takes the component name and the type.
|
public static <T> com.atlassian.util.concurrent.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–2016 Atlassian. All rights reserved.