Interface DefaultableUnaryServiceNameFactoryProvider
- All Superinterfaces:
UnaryServiceNameFactory,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 Summary
Modifier and TypeMethodDescriptionThe factory from which to generate aServiceNameif the requested name is null.default org.jboss.msc.service.ServiceNamegetServiceName(org.jboss.as.controller.capability.CapabilityServiceSupport support, String name) Creates aServiceNameappropriate for the specified name.default org.jboss.msc.service.ServiceNamegetServiceName(org.jboss.as.controller.OperationContext context, String name) Creates aServiceNameappropriate for the specified name.Methods inherited from interface org.jboss.as.clustering.controller.UnaryServiceNameFactory
getServiceNameMethods inherited from interface org.jboss.as.clustering.controller.UnaryServiceNameFactoryProvider
getServiceNameFactory
-
Method Details
-
getDefaultServiceNameFactory
ServiceNameFactory getDefaultServiceNameFactory()The factory from which to generate aServiceNameif 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:UnaryServiceNameFactoryCreates aServiceNameappropriate for the specified name.- Specified by:
getServiceNamein interfaceUnaryServiceNameFactory- Specified by:
getServiceNamein interfaceUnaryServiceNameFactoryProvider- Parameters:
context- an operation contextname- 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:UnaryServiceNameFactoryCreates aServiceNameappropriate for the specified name.- Specified by:
getServiceNamein interfaceUnaryServiceNameFactory- Specified by:
getServiceNamein interfaceUnaryServiceNameFactoryProvider- Parameters:
support- support for capability servicesname- a potentially null name- Returns:
- a
ServiceName
-