Package org.wildfly.subsystem.service
Interface ServiceInstaller.UnaryBuilder<T,V>
- Type Parameters:
T- the source value typeV- the service value type
- All Superinterfaces:
org.wildfly.service.Installer.BlockingBuilder<ServiceInstaller.UnaryBuilder<T,,V>> org.wildfly.service.Installer.Builder<ServiceInstaller.UnaryBuilder<T,,V>, ServiceInstaller, org.jboss.as.controller.RequirementServiceTarget, org.jboss.as.controller.RequirementServiceBuilder<?>> org.wildfly.service.Installer.UnaryBuilder<ServiceInstaller.UnaryBuilder<T,V>, ServiceInstaller, org.jboss.as.controller.RequirementServiceTarget, org.jboss.as.controller.RequirementServiceBuilder<?>, T, V>
- All Known Implementing Classes:
ServiceInstaller.DefaultUnaryBuilder
- Enclosing interface:
- ServiceInstaller
public static interface ServiceInstaller.UnaryBuilder<T,V>
extends org.wildfly.service.Installer.BlockingBuilder<ServiceInstaller.UnaryBuilder<T,V>>, org.wildfly.service.Installer.UnaryBuilder<ServiceInstaller.UnaryBuilder<T,V>,ServiceInstaller,org.jboss.as.controller.RequirementServiceTarget,org.jboss.as.controller.RequirementServiceBuilder<?>,T,V>
Builds a
ServiceInstaller whose installed service provides a single value.-
Method Summary
Modifier and TypeMethodDescriptiondefault ServiceInstaller.UnaryBuilder<T,V> provides(org.wildfly.service.descriptor.BinaryServiceDescriptor<V> descriptor, String parent, String child) Configures a service descriptor provided by this service.default ServiceInstaller.UnaryBuilder<T,V> Configures a service descriptor provided by this service.default ServiceInstaller.UnaryBuilder<T,V> provides(org.wildfly.service.descriptor.QuaternaryServiceDescriptor<V> descriptor, String greatGrandparent, String grandparent, String parent, String child) Configures a service descriptor provided by this service.default ServiceInstaller.UnaryBuilder<T,V> provides(org.wildfly.service.descriptor.TernaryServiceDescriptor<V> descriptor, String grandparent, String parent, String child) Configures a service descriptor provided by this service.default ServiceInstaller.UnaryBuilder<T,V> Configures a service descriptor provided by this service.Methods inherited from interface org.wildfly.service.Installer.BlockingBuilder
blockingMethods inherited from interface org.wildfly.service.Installer.Builder
asActive, asPassive, build, onRemove, onStart, onStop, requires, requires, startWhenMethods inherited from interface org.wildfly.service.Installer.UnaryBuilder
onStart, onStop, provides, withCaptor
-
Method Details
-
provides
default ServiceInstaller.UnaryBuilder<T,V> provides(org.wildfly.service.descriptor.NullaryServiceDescriptor<V> descriptor) Configures a service descriptor provided by this service.- Parameters:
descriptor- a service descriptor- Returns:
- a reference to this builder
-
provides
default ServiceInstaller.UnaryBuilder<T,V> provides(org.wildfly.service.descriptor.UnaryServiceDescriptor<V> descriptor, String name) Configures a service descriptor provided by this service.- Parameters:
descriptor- a service descriptorname- a dynamic segment- Returns:
- a reference to this builder
-
provides
default ServiceInstaller.UnaryBuilder<T,V> provides(org.wildfly.service.descriptor.BinaryServiceDescriptor<V> descriptor, String parent, String child) Configures a service descriptor provided by this service.- Parameters:
descriptor- a service descriptorparent- the first dynamic segmentchild- the second dynamic segment- Returns:
- a reference to this builder
-
provides
default ServiceInstaller.UnaryBuilder<T,V> provides(org.wildfly.service.descriptor.TernaryServiceDescriptor<V> descriptor, String grandparent, String parent, String child) Configures a service descriptor provided by this service.- Parameters:
descriptor- a service descriptorgrandparent- the first dynamic segmentparent- the second dynamic segmentchild- the third dynamic segment- Returns:
- a reference to this builder
-
provides
default ServiceInstaller.UnaryBuilder<T,V> provides(org.wildfly.service.descriptor.QuaternaryServiceDescriptor<V> descriptor, String greatGrandparent, String grandparent, String parent, String child) Configures a service descriptor provided by this service.- Parameters:
descriptor- a service descriptorgreatGrandparent- the first dynamic segmentgrandparent- the second dynamic segmentparent- the third dynamic segmentchild- the fourth dynamic segment- Returns:
- a reference to this builder
-