Interface ServiceValueRegistry<V>

  • Type Parameters:
    V - the captured service value type
    All Superinterfaces:
    org.wildfly.service.capture.ValueRegistry<ServiceDependency<V>,​V>
    All Known Subinterfaces:
    ServiceValueExecutorRegistry<V>

    public interface ServiceValueRegistry<V>
    extends org.wildfly.service.capture.ValueRegistry<ServiceDependency<V>,​V>
    A registry of service values.
    Author:
    Paul Ferraro
    • Method Detail

      • capture

        default ServiceInstaller capture​(ServiceDependency<V> dependency)
        Creates a service installer to capture and release the value provided by the specified service dependency.
        Parameters:
        dependency - a service dependency
        Returns:
        a service installer