Interface DefaultableUnaryServiceNameFactoryProvider

All Superinterfaces:
UnaryServiceNameFactory, UnaryServiceNameFactoryProvider

public interface DefaultableUnaryServiceNameFactoryProvider extends UnaryServiceNameFactoryProvider
Provides a factory for generating a ServiceName for a unary requirement as well as a factory generating a ServiceName for a default requirement.
Author:
Paul Ferraro
  • Method Details

    • getDefaultServiceNameFactory

      ServiceNameFactory getDefaultServiceNameFactory()
      The factory from which to generate a ServiceName if the requested name is null.
      Returns:
      a factory for generating service names
    • getServiceName

      default org.jboss.msc.service.ServiceName getServiceName(org.jboss.as.controller.OperationContext context, String name)
      Description copied from interface: UnaryServiceNameFactory
      Creates a ServiceName appropriate for the specified name.
      Specified by:
      getServiceName in interface UnaryServiceNameFactory
      Specified by:
      getServiceName in interface UnaryServiceNameFactoryProvider
      Parameters:
      context - an operation context
      name - a potentially null name
      Returns:
      a ServiceName
    • getServiceName

      default org.jboss.msc.service.ServiceName getServiceName(org.jboss.as.controller.capability.CapabilityServiceSupport support, String name)
      Description copied from interface: UnaryServiceNameFactory
      Creates a ServiceName appropriate for the specified name.
      Specified by:
      getServiceName in interface UnaryServiceNameFactory
      Specified by:
      getServiceName in interface UnaryServiceNameFactoryProvider
      Parameters:
      support - support for capability services
      name - a potentially null name
      Returns:
      a ServiceName