Class SimpleSupplierDependency<V>

java.lang.Object
org.wildfly.clustering.service.SimpleSupplierDependency<V>
All Implemented Interfaces:
Supplier<V>, Dependency, SupplierDependency<V>

public class SimpleSupplierDependency<V> extends Object implements SupplierDependency<V>
A Dependency that supplies a static value
Author:
Paul Ferraro
  • Constructor Details

    • SimpleSupplierDependency

      public SimpleSupplierDependency(V value)
  • Method Details

    • get

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

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