Interface ServiceNameFactory

All Known Subinterfaces:
ServiceNameFactoryProvider
All Known Implementing Classes:
CommonRequirement, RequirementServiceNameFactory

public interface ServiceNameFactory
Factory for generating a ServiceName for a requirement.
Author:
Paul Ferraro
  • Method Summary

    Modifier and Type
    Method
    Description
    org.jboss.msc.service.ServiceName
    getServiceName(org.jboss.as.controller.capability.CapabilityServiceSupport support)
    Creates a ServiceName appropriate for the specified name.
    org.jboss.msc.service.ServiceName
    getServiceName(org.jboss.as.controller.OperationContext context)
    Creates a ServiceName appropriate for the specified name.
  • Method Details

    • getServiceName

      org.jboss.msc.service.ServiceName getServiceName(org.jboss.as.controller.OperationContext context)
      Creates a ServiceName appropriate for the specified name.
      Parameters:
      context - an operation context
      name - a potentially null name
      Returns:
      a ServiceName
    • getServiceName

      org.jboss.msc.service.ServiceName getServiceName(org.jboss.as.controller.capability.CapabilityServiceSupport support)
      Creates a ServiceName appropriate for the specified name.
      Parameters:
      support - support for capability services
      name - a potentially null name
      Returns:
      a ServiceName