Class UnaryRequirementServiceNameFactory

java.lang.Object
org.jboss.as.clustering.controller.UnaryRequirementServiceNameFactory
All Implemented Interfaces:
UnaryServiceNameFactory

public class UnaryRequirementServiceNameFactory extends Object implements UnaryServiceNameFactory
Factory for generating a ServiceName for a UnaryRequirement.
Author:
Paul Ferraro
  • Constructor Details

    • UnaryRequirementServiceNameFactory

      public UnaryRequirementServiceNameFactory(UnaryRequirement requirement)
  • Method Details

    • getServiceName

      public 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
      Parameters:
      context - an operation context
      name - a potentially null name
      Returns:
      a ServiceName
    • getServiceName

      public 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
      Parameters:
      support - support for capability services
      name - a potentially null name
      Returns:
      a ServiceName