Interface ServiceInstaller.UnaryBuilder<T,V>

Type Parameters:
T - the source value type
V - 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 Type
    Method
    Description
    provides(org.wildfly.service.descriptor.BinaryServiceDescriptor<V> descriptor, String parent, String child)
    Configures a service descriptor provided by this service.
    provides(org.wildfly.service.descriptor.NullaryServiceDescriptor<V> descriptor)
    Configures a service descriptor provided by this service.
    provides(org.wildfly.service.descriptor.QuaternaryServiceDescriptor<V> descriptor, String greatGrandparent, String grandparent, String parent, String child)
    Configures a service descriptor provided by this service.
    provides(org.wildfly.service.descriptor.TernaryServiceDescriptor<V> descriptor, String grandparent, String parent, String child)
    Configures a service descriptor provided by this service.
    provides(org.wildfly.service.descriptor.UnaryServiceDescriptor<V> descriptor, String name)
    Configures a service descriptor provided by this service.

    Methods inherited from interface org.wildfly.service.Installer.BlockingBuilder

    blocking

    Methods inherited from interface org.wildfly.service.Installer.Builder

    asActive, asPassive, build, onRemove, onStart, onStop, requires, requires, startWhen

    Methods 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 descriptor
      name - 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 descriptor
      parent - the first dynamic segment
      child - 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 descriptor
      grandparent - the first dynamic segment
      parent - the second dynamic segment
      child - 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 descriptor
      greatGrandparent - the first dynamic segment
      grandparent - the second dynamic segment
      parent - the third dynamic segment
      child - the fourth dynamic segment
      Returns:
      a reference to this builder