Class CapabilityReference.ServiceDescriptorReference<T>

    • Method Detail

      • resolve

        public Map.Entry<String,​String[]> resolve​(org.jboss.as.controller.OperationContext context,
                                                        org.jboss.as.controller.registry.Resource resource,
                                                        String value)
        Description copied from interface: CapabilityReferenceResolver
        Resolves the dynamic segments of this capability reference.
        Parameters:
        context - an operation context
        resource - the resource
        value - the attribute value
        Returns:
        a map entry containing the requirement name and array of dynamic name segments
      • addCapabilityRequirements

        public void addCapabilityRequirements​(org.jboss.as.controller.OperationContext context,
                                              org.jboss.as.controller.registry.Resource resource,
                                              String attributeName,
                                              String... values)
      • removeCapabilityRequirements

        public void removeCapabilityRequirements​(org.jboss.as.controller.OperationContext context,
                                                 org.jboss.as.controller.registry.Resource resource,
                                                 String attributeName,
                                                 String... values)
      • getRequirementPatternSegments

        public String[] getRequirementPatternSegments​(String name,
                                                      org.jboss.as.controller.PathAddress address)