inferredService = Descriptors.binaryToFQN(inferredService); def.updateVersion(V1_3); if (!ReferenceScope.PROTOTYPE.equals(scope) && m.group(3) != null) { analyzer.error( "In component %s, to use ServiceObjects the scope must be 'prototype'",
/** * Calculate the tag. * * @return a tag for the reference element. */ public Tag getTag() { Tag ref = new Tag("reference"); ref.addAttribute("name", name); if (cardinality != null) ref.addAttribute("cardinality", cardinality.toString()); if (policy != null) ref.addAttribute("policy", policy.toString()); ref.addAttribute("interface", service); if (target != null) ref.addAttribute("target", target); if (bind != null && !"-".equals(bind)) ref.addAttribute("bind", bind); if (unbind != null && !"-".equals(unbind)) ref.addAttribute("unbind", unbind); if (updated != null && !"-".equals(updated)) ref.addAttribute("updated", updated); if (policyOption != null) ref.addAttribute("policy-option", policyOption.toString()); if (scope != null) ref.addAttribute("scope", scope.toString()); return ref; }
/** * Calculate the tag. * * @return a tag for the reference element. */ public Tag getTag() { Tag ref = new Tag("reference"); ref.addAttribute("name", name); if (cardinality != null) ref.addAttribute("cardinality", cardinality.toString()); if (policy != null) ref.addAttribute("policy", policy.toString()); ref.addAttribute("interface", service); if (target != null) ref.addAttribute("target", target); if (bind != null && !"-".equals(bind)) ref.addAttribute("bind", bind); if (unbind != null && !"-".equals(unbind)) ref.addAttribute("unbind", unbind); if (updated != null && !"-".equals(updated)) ref.addAttribute("updated", updated); if (policyOption != null) ref.addAttribute("policy-option", policyOption.toString()); if (scope != null) ref.addAttribute("scope", scope.toString()); return ref; }
inferredService = Descriptors.binaryToFQN(inferredService); def.updateVersion(V1_3); if (!ReferenceScope.PROTOTYPE.equals(scope) && m.group(3) != null) { analyzer.error( "In component %s, to use ServiceObjects the scope must be 'prototype'",