Class UnaryRequirementServiceNameFactory
java.lang.Object
org.jboss.as.clustering.controller.UnaryRequirementServiceNameFactory
- All Implemented Interfaces:
UnaryServiceNameFactory
Factory for generating a
ServiceName for a UnaryRequirement.- Author:
- Paul Ferraro
-
Constructor Summary
Constructors -
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.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.as.clustering.controller.UnaryServiceNameFactory
getServiceName
-
Constructor Details
-
UnaryRequirementServiceNameFactory
-
-
Method Details
-
getServiceName
public 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- Parameters:
context- an operation contextname- a potentially null name- Returns:
- a
ServiceName
-
getServiceName
public 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- Parameters:
support- support for capability servicesname- a potentially null name- Returns:
- a
ServiceName
-