Interface UnaryServiceNameFactory
- All Known Subinterfaces:
DefaultableUnaryServiceNameFactoryProvider,UnaryServiceNameFactoryProvider
- All Known Implementing Classes:
CommonUnaryRequirement,UnaryRequirementServiceNameFactory
public interface UnaryServiceNameFactory
Factory for generating a
ServiceName for a unary requirement.- Author:
- Paul Ferraro
-
Method Summary
Modifier and TypeMethodDescriptionorg.jboss.msc.service.ServiceNamegetServiceName(org.jboss.as.controller.capability.CapabilityServiceSupport support, String name) Creates aServiceNameappropriate for the specified name.org.jboss.msc.service.ServiceNamegetServiceName(org.jboss.as.controller.OperationContext context, String name) Creates aServiceNameappropriate for the specified name.default org.jboss.msc.service.ServiceNamegetServiceName(org.jboss.as.controller.OperationContext context, org.jboss.as.controller.capability.UnaryCapabilityNameResolver resolver) Creates aServiceNameappropriate for the address of the specifiedOperationContext
-
Method Details
-
getServiceName
org.jboss.msc.service.ServiceName getServiceName(org.jboss.as.controller.OperationContext context, String name) Creates aServiceNameappropriate for the specified name.- Parameters:
context- an operation contextname- a potentially null name- Returns:
- a
ServiceName
-
getServiceName
org.jboss.msc.service.ServiceName getServiceName(org.jboss.as.controller.capability.CapabilityServiceSupport support, String name) Creates aServiceNameappropriate for the specified name.- Parameters:
support- support for capability servicesname- a potentially null name- Returns:
- a
ServiceName
-
getServiceName
default org.jboss.msc.service.ServiceName getServiceName(org.jboss.as.controller.OperationContext context, org.jboss.as.controller.capability.UnaryCapabilityNameResolver resolver) Creates aServiceNameappropriate for the address of the specifiedOperationContext- Parameters:
context- an operation contextresolver- a capability name resolver- Returns:
- a
ServiceName
-