Uses of Interface
org.wildfly.subsystem.service.ServiceDependency
-
Packages that use ServiceDependency Package Description org.wildfly.subsystem.resource.capability org.wildfly.subsystem.service org.wildfly.subsystem.service.capability org.wildfly.subsystem.service.capture -
-
Uses of ServiceDependency in org.wildfly.subsystem.resource.capability
Methods in org.wildfly.subsystem.resource.capability that return ServiceDependency Modifier and Type Method Description ServiceDependency<T>CapabilityReferenceAttributeDefinition. resolve(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode model)ServiceDependency<List<T>>CapabilityReferenceListAttributeDefinition. resolve(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode model)ServiceDependency<T>ResourceCapabilityReference.ResourceCapabilityServiceDescriptorReference. resolve(org.jboss.as.controller.OperationContext context, org.jboss.as.controller.registry.Resource resource)ServiceDependency<T>ResourceCapabilityReference.ResourceCapabilityServiceDescriptorReference. resolve(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode model)ServiceDependency<T>ResourceCapabilityReferenceRecorder.ResourceCapabilityServiceDescriptorReference. resolve(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode model)Deprecated, for removal: This API element is subject to removal in a future version. -
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>static classServiceDependency.SuppliedServiceDependency<V>Methods in org.wildfly.subsystem.service that return ServiceDependency Modifier and Type Method Description default ServiceDependency<V>ServiceDependency. andThen(Consumer<? super org.jboss.as.controller.RequirementServiceBuilder<?>> after)default <T,R>
ServiceDependency<R>ServiceDependency. combine(org.wildfly.service.Dependency<org.jboss.as.controller.RequirementServiceBuilder<?>,T> dependency, BiFunction<V,T,R> mapper)static <V> ServiceDependency<V>ServiceDependency. empty()Returns an empty pseudo-dependency whoseSupplier.get()returns null.static <V> ServiceDependency<V>ServiceDependency. from(Supplier<V> supplier)Returns a pseudo-dependency whoseSupplier.get()returns the value from the specified supplier.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 <V> ServiceDependency<V>ServiceDependency. of(V 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(org.jboss.as.controller.capability.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.
-