public interface DefaultableUnaryServiceNameFactoryProvider extends UnaryServiceNameFactoryProvider
ServiceName
for a unary requirement
as well as a factory generating a ServiceName
for a default requirement.Modifier and Type | Method and Description |
---|---|
ServiceNameFactory |
getDefaultServiceNameFactory()
The factory from which to generate a
ServiceName if the requested name is null. |
default org.jboss.msc.service.ServiceName |
getServiceName(org.jboss.as.controller.capability.CapabilityServiceSupport support,
String name)
Creates a
ServiceName appropriate for the specified name. |
default org.jboss.msc.service.ServiceName |
getServiceName(org.jboss.as.controller.OperationContext context,
String name)
Creates a
ServiceName appropriate for the specified name. |
getServiceNameFactory
ServiceNameFactory getDefaultServiceNameFactory()
ServiceName
if the requested name is null.default org.jboss.msc.service.ServiceName getServiceName(org.jboss.as.controller.OperationContext context, String name)
UnaryServiceNameFactory
ServiceName
appropriate for the specified name.getServiceName
in interface UnaryServiceNameFactory
getServiceName
in interface UnaryServiceNameFactoryProvider
context
- an operation contextname
- a potentially null nameServiceName
default org.jboss.msc.service.ServiceName getServiceName(org.jboss.as.controller.capability.CapabilityServiceSupport support, String name)
UnaryServiceNameFactory
ServiceName
appropriate for the specified name.getServiceName
in interface UnaryServiceNameFactory
getServiceName
in interface UnaryServiceNameFactoryProvider
support
- support for capability servicesname
- a potentially null nameServiceName
Copyright © 2018 JBoss by Red Hat. All rights reserved.