Interface DefaultableUnaryServiceNameFactoryProvider
-
- All Superinterfaces:
UnaryServiceNameFactory,UnaryServiceNameFactoryProvider
public interface DefaultableUnaryServiceNameFactoryProvider extends UnaryServiceNameFactoryProvider
Provides a factory for generating aServiceNamefor a unary requirement as well as a factory generating aServiceNamefor a default requirement.- Author:
- Paul Ferraro
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ServiceNameFactorygetDefaultServiceNameFactory()The 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
getServiceName
-
Methods inherited from interface org.jboss.as.clustering.controller.UnaryServiceNameFactoryProvider
getServiceNameFactory
-
-
-
-
Method Detail
-
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
-
-