Class FunctionSupplierDependency<T,R>

java.lang.Object
org.wildfly.clustering.service.FunctionSupplierDependency<T,R>
All Implemented Interfaces:
Supplier<R>, Dependency, SupplierDependency<R>

public class FunctionSupplierDependency<T,R> extends Object implements SupplierDependency<R>
A SupplierDependency that applies a mapping to the source dependency value.
Author:
Paul Ferraro
  • Constructor Details

  • Method Details

    • get

      public R get()
      Specified by:
      get in interface Supplier<T>
    • register

      public <V> org.jboss.msc.service.ServiceBuilder<V> register(org.jboss.msc.service.ServiceBuilder<V> builder)
      Specified by:
      register in interface Dependency