Package org.wildfly.clustering.service
Class ServiceSupplierDependency<V>
java.lang.Object
org.wildfly.clustering.service.SimpleServiceNameProvider
org.wildfly.clustering.service.ServiceSupplierDependency<V>
- All Implemented Interfaces:
Supplier<V>,Dependency,ServiceNameProvider,SupplierDependency<V>
public class ServiceSupplierDependency<V>
extends SimpleServiceNameProvider
implements SupplierDependency<V>
Encapsulates a
Dependency on a Service that supplies a value.- Author:
- Paul Ferraro
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget()<T> ServiceBuilder<T>register(ServiceBuilder<T> builder) Methods inherited from class org.wildfly.clustering.service.SimpleServiceNameProvider
equals, getServiceName, hashCode, toString
-
Constructor Details
-
ServiceSupplierDependency
-
ServiceSupplierDependency
-
-
Method Details
-
get
-
register
- Specified by:
registerin interfaceDependency
-