Interface ResourceServiceInstaller

All Known Subinterfaces:
CapabilityServiceInstaller, ServiceInstaller
All Known Implementing Classes:
CapabilityServiceInstaller.DefaultCapabilityServiceInstaller, ServiceInstaller.DefaultServiceInstaller

public interface ResourceServiceInstaller
Installs a service into the target associated with an OperationContext.
Author:
Paul Ferraro
  • Field Details

  • Method Details

    • install

      Consumer<org.jboss.as.controller.OperationContext> install(org.jboss.as.controller.OperationContext context)
      Installs a service into the target associated with the specified operation context.
      Parameters:
      context - an operation context
      Returns:
      a mechanism to remove the installed service
    • combine

      static ResourceServiceInstaller combine(ResourceServiceInstaller... installers)
      Returns a composite ResourceServiceInstaller that installs the specified installers.
      Parameters:
      installers - a variable number of installers
      Returns:
      a composite installer
    • combine

      static ResourceServiceInstaller combine(Collection<? extends ResourceServiceInstaller> installers)
      Returns a composite ResourceServiceInstaller that installs the specified installers.
      Parameters:
      installers - a collection of installers
      Returns:
      a composite installer