Class UnaryRequirementServiceNameFactory
- java.lang.Object
-
- org.jboss.as.clustering.controller.UnaryRequirementServiceNameFactory
-
- All Implemented Interfaces:
UnaryServiceNameFactory
public class UnaryRequirementServiceNameFactory extends Object implements UnaryServiceNameFactory
Factory for generating aServiceNamefor aUnaryRequirement.- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description UnaryRequirementServiceNameFactory(UnaryRequirement requirement)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.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, wait
-
Methods inherited from interface org.jboss.as.clustering.controller.UnaryServiceNameFactory
getServiceName
-
-
-
-
Constructor Detail
-
UnaryRequirementServiceNameFactory
public UnaryRequirementServiceNameFactory(UnaryRequirement requirement)
-
-
Method Detail
-
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
-
-