Interface DefaultableBinaryServiceNameFactoryProvider
-
- All Superinterfaces:
BinaryServiceNameFactory,BinaryServiceNameFactoryProvider
public interface DefaultableBinaryServiceNameFactoryProvider extends BinaryServiceNameFactoryProvider
Provides a factory for generating aServiceNamefor a binary requirement as well as a factory generating aServiceNamefor a unary requirement.- Author:
- Paul Ferraro
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UnaryServiceNameFactorygetDefaultServiceNameFactory()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 parent, String child)Creates aServiceNameappropriate for the specified name.default org.jboss.msc.service.ServiceNamegetServiceName(org.jboss.as.controller.OperationContext context, String parent, String child)Creates aServiceNameappropriate for the specified name.-
Methods inherited from interface org.jboss.as.clustering.controller.BinaryServiceNameFactory
getServiceName
-
Methods inherited from interface org.jboss.as.clustering.controller.BinaryServiceNameFactoryProvider
getServiceNameFactory
-
-
-
-
Method Detail
-
getDefaultServiceNameFactory
UnaryServiceNameFactory 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 parent, String child)Description copied from interface:BinaryServiceNameFactoryCreates aServiceNameappropriate for the specified name.- Specified by:
getServiceNamein interfaceBinaryServiceNameFactory- Specified by:
getServiceNamein interfaceBinaryServiceNameFactoryProvider- Parameters:
context- an operation contextparent- a parent resource namechild- a child resource name- Returns:
- a
ServiceName
-
getServiceName
default org.jboss.msc.service.ServiceName getServiceName(org.jboss.as.controller.capability.CapabilityServiceSupport support, String parent, String child)Description copied from interface:BinaryServiceNameFactoryCreates aServiceNameappropriate for the specified name.- Specified by:
getServiceNamein interfaceBinaryServiceNameFactory- Specified by:
getServiceNamein interfaceBinaryServiceNameFactoryProvider- Parameters:
support- support for capability servicesparent- a parent resource namechild- a child resource name- Returns:
- a
ServiceName
-
-