T
- @ParametersAreNonnullByDefault public class ServletSafeComponentReference<T> extends Object implements Supplier<Optional<T>>
ComponentAccessor.getComponentSafely(Class)
to access component.Constructor and Description |
---|
ServletSafeComponentReference(Class<T> componentClass) |
Modifier and Type | Method and Description |
---|---|
static <X> ServletSafeComponentReference<X> |
build(Class<X> componentClass) |
Optional<T> |
get()
Produce an object.
|
public Optional<T> get()
Supplier
public static <X> ServletSafeComponentReference<X> build(Class<X> componentClass)
Copyright © 2002-2019 Atlassian. All Rights Reserved.