1 27 package org.objectweb.jonas_ejb.deployment.xml; 28 29 import org.objectweb.jonas_lib.deployment.xml.AbsElement; 30 35 36 public class SasContextMapping extends AbsElement { 37 38 41 private String callerPropagation = null; 42 43 44 47 public String getCallerPropagation() { 48 return callerPropagation; 49 } 50 53 public void setCallerPropagation(String callerPropagation) { 54 this.callerPropagation = callerPropagation; 55 } 56 59 public SasContextMapping() { 60 super(); 61 } 62 63 64 65 70 public String toXML(int indent) { 71 StringBuffer sb = new StringBuffer (); 72 sb.append(indent(indent)); 73 sb.append("<sas-context>\n"); 74 75 indent += 2; 76 77 sb.append(xmlElement(callerPropagation, "caller-propagation", indent)); 79 indent -= 2; 80 sb.append(indent(indent)); 81 sb.append("</sas-context>\n"); 82 83 return sb.toString(); 84 } 85 } 86 | Popular Tags |