00001
00027 package org.objectweb.jonas_ejb.deployment.xml;
00028
00029 import org.objectweb.jonas_lib.deployment.xml.AbsElement;
00036 public class SasContextMapping extends AbsElement {
00037
00041 private String callerPropagation = null;
00042
00043
00047 public String getCallerPropagation() {
00048 return callerPropagation;
00049 }
00053 public void setCallerPropagation(String callerPropagation) {
00054 this.callerPropagation = callerPropagation;
00055 }
00059 public SasContextMapping() {
00060 super();
00061 }
00062
00063
00064
00070 public String toXML(int indent) {
00071 StringBuffer sb = new StringBuffer();
00072 sb.append(indent(indent));
00073 sb.append("<sas-context>\n");
00074
00075 indent += 2;
00076
00077
00078 sb.append(xmlElement(callerPropagation, "caller-propagation", indent));
00079 indent -= 2;
00080 sb.append(indent(indent));
00081 sb.append("</sas-context>\n");
00082
00083 return sb.toString();
00084 }
00085 }