FunctionalService
.@Deprecated public class SuppliedValueService<T,V> extends FunctionalValueService<T,V>
Service
whose provided value is a mapping of a supplied value.Constructor and Description |
---|
SuppliedValueService(Function<T,V> mapper,
Supplier<T> supplier,
Consumer<T> destroyer)
Deprecated.
Constructs a new supplied value service.
|
public SuppliedValueService(Function<T,V> mapper, Supplier<T> supplier, Consumer<T> destroyer)
mapper
- a function that maps the supplied value to the service valuesupplier
- produces the supplied valuedestroyer
- a consumer that destroys the supplied valueCopyright © 2019 JBoss by Red Hat. All rights reserved.