Package org.wildfly.clustering.service
Class FunctionSupplierDependency<T,R>
java.lang.Object
org.wildfly.clustering.service.FunctionSupplierDependency<T,R>
- All Implemented Interfaces:
Supplier<R>,Dependency,SupplierDependency<R>
A
SupplierDependency that applies a mapping to the source dependency value.- Author:
- Paul Ferraro
-
Constructor Summary
ConstructorsConstructorDescriptionFunctionSupplierDependency(SupplierDependency<T> dependency, Function<T, R> mapper) -
Method Summary
-
Constructor Details
-
FunctionSupplierDependency
-
-
Method Details
-
get
-
register
public <V> org.jboss.msc.service.ServiceBuilder<V> register(org.jboss.msc.service.ServiceBuilder<V> builder) - Specified by:
registerin interfaceDependency
-