public class SerializableScope extends Object implements Scope
Modifier and Type | Class and Description |
---|---|
static class |
SerializableScope.IndirectSerializableSupplier<T> |
static interface |
SerializableScope.SerializableSupplier<T> |
Constructor and Description |
---|
SerializableScope(Scope delegate,
SerializableScope.SerializableSupplier<Scope> indirectDelegateSupplier) |
Modifier and Type | Method and Description |
---|---|
<T> Supplier<T> |
apply(Factory<T> factory)
Return a supplier that only indirectly refers to the delegate scope.
|
<T> T |
get(Factory<T> factory)
Get an instance of the given factory for this scope.
|
public SerializableScope(Scope delegate, SerializableScope.SerializableSupplier<Scope> indirectDelegateSupplier)
Copyright © 2016. All rights reserved.