Uses of Interface
org.wildfly.subsystem.service.ServiceDependency
-
Packages that use ServiceDependency Package Description org.wildfly.subsystem.service org.wildfly.subsystem.service.capability org.wildfly.subsystem.service.capture -
-
Uses of ServiceDependency in org.wildfly.subsystem.service
Classes in org.wildfly.subsystem.service that implement ServiceDependency Modifier and Type Class Description static classServiceDependency.AbstractServiceDependency<T>static classServiceDependency.DefaultServiceDependency<V>static classServiceDependency.SimpleServiceDependency<V>Methods in org.wildfly.subsystem.service that return ServiceDependency Modifier and Type Method Description static <T> ServiceDependency<T>ServiceDependency. from(org.wildfly.service.ServiceDependency<T> dependency)Wraps aServiceDependencyas aServiceDependency.default <R> ServiceDependency<R>ServiceDependency. map(Function<V,R> mapper)static <T> ServiceDependency<T>ServiceDependency. of(T value)Returns a pseudo-dependency whoseSupplier.get()returns the specified value.static <T> ServiceDependency<T>ServiceDependency. on(String capabilityName, Class<T> type, String... referenceNames)Returns a dependency on the capability with the specified name and type, resolved against the specified references names.static <T> ServiceDependency<T>ServiceDependency. on(org.jboss.msc.service.ServiceName name)Returns a dependency on the service with the specified name.static <T> ServiceDependency<T>ServiceDependency. on(org.wildfly.service.descriptor.BinaryServiceDescriptor<T> descriptor, String parentName, String childName)Returns a dependency on the specified binary capability, resolved against the specified reference names.static <T> ServiceDependency<T>ServiceDependency. on(org.wildfly.service.descriptor.NullaryServiceDescriptor<T> descriptor)Returns a dependency on the specified capability.static <T> ServiceDependency<T>ServiceDependency. on(org.wildfly.service.descriptor.QuaternaryServiceDescriptor<T> descriptor, String ancestorName, String grandparentName, String parentName, String childName)Returns a dependency on the specified quaternary capability, resolved against the specified reference names.static <T> ServiceDependency<T>ServiceDependency. on(org.wildfly.service.descriptor.TernaryServiceDescriptor<T> descriptor, String grandparentName, String parentName, String childName)Returns a dependency on the specified ternary capability, resolved against the specified reference names.static <T> ServiceDependency<T>ServiceDependency. on(org.wildfly.service.descriptor.UnaryServiceDescriptor<T> descriptor, String name)Returns a dependency on the specified unary capability, resolved against the specified reference name.Methods in org.wildfly.subsystem.service with parameters of type ServiceDependency Modifier and Type Method Description static <V> ServiceInstaller.UnaryBuilder<V,V>ServiceInstaller. builder(ServiceDependency<V> dependency)Returns aServiceInstallerbuilder whose installed service provides the value supplied by the specified dependency. -
Uses of ServiceDependency in org.wildfly.subsystem.service.capability
Methods in org.wildfly.subsystem.service.capability with parameters of type ServiceDependency Modifier and Type Method Description static <V> CapabilityServiceInstaller.Builder<V,V>CapabilityServiceInstaller. builder(RuntimeCapability<Void> capability, ServiceDependency<V> dependency)Returns aCapabilityServiceInstallerbuilder for the specified capability whose installed service provides the value supplied by the specified dependency. -
Uses of ServiceDependency in org.wildfly.subsystem.service.capture
Methods in org.wildfly.subsystem.service.capture with parameters of type ServiceDependency Modifier and Type Method Description default ServiceInstallerServiceValueRegistry. capture(ServiceDependency<V> dependency)Creates a service installer to capture and release the value provided by the specified service dependency.
-