Interface Builder<T>

Type Parameters:
T - the type of value provided by services built by this builder
All Superinterfaces:
ServiceConfigurator, ServiceNameProvider

@Deprecated(forRemoval=true) public interface Builder<T> extends ServiceConfigurator
Deprecated, for removal: This API element is subject to removal in a future version.
Replaced by ServiceConfigurator.
Encapsulates the logic for building a service.
Author:
Paul Ferraro
  • Method Summary

    Modifier and Type
    Method
    Description
    org.jboss.msc.service.ServiceBuilder<T>
    build(org.jboss.msc.service.ServiceTarget target)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Builds a service into the specified target.

    Methods inherited from interface org.wildfly.clustering.service.ServiceNameProvider

    getServiceName
  • Method Details

    • build

      org.jboss.msc.service.ServiceBuilder<T> build(org.jboss.msc.service.ServiceTarget target)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Builds a service into the specified target.
      Specified by:
      build in interface ServiceConfigurator
      Parameters:
      target - the service installation target
      Returns:
      a service builder