Interface Installer.Builder<B,​I extends Installer<ST>,​ST extends org.jboss.msc.service.ServiceTarget,​SB extends org.jboss.msc.service.ServiceBuilder<?>>

    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      B asActive()
      Configures the installed service to start immediately after installation, forcing any dependencies to start.
      B asPassive()
      Configures the installed service to automatically start when all of its dependencies are available and to automatically stop when any of its dependencies are no longer available.
      I build()
      Builds a service installer.
      default B requires​(Iterable<? extends Consumer<SB>> dependencies)
      Configures dependencies of the installed service.
      B requires​(Consumer<SB> dependency)
      Configures a dependency of the installed service.
    • Method Detail

      • requires

        B requires​(Consumer<SB> dependency)
        Configures a dependency of the installed service.
        Parameters:
        dependency - a dependency
        Returns:
        a reference to this builder
      • requires

        default B requires​(Iterable<? extends Consumer<SB>> dependencies)
        Configures dependencies of the installed service.
        Parameters:
        dependencies - a variable number of dependencies
        Returns:
        a reference to this builder
      • asPassive

        B asPassive()
        Configures the installed service to automatically start when all of its dependencies are available and to automatically stop when any of its dependencies are no longer available.
        Returns:
        a reference to this builder
      • asActive

        B asActive()
        Configures the installed service to start immediately after installation, forcing any dependencies to start.
        Returns:
        a reference to this builder
      • build

        I build()
        Builds a service installer.
        Returns:
        a service installer