00001 00027 package org.objectweb.jonas_ejb.deployment.xml; 00028 00029 import org.objectweb.jonas_lib.deployment.xml.AbsElement; 00036 public class UseCallerIdentity extends AbsElement { 00037 00038 00042 public UseCallerIdentity() { 00043 super(); 00044 } 00045 00051 public String toXML(int indent) { 00052 StringBuffer sb = new StringBuffer(); 00053 sb.append(indent(indent)); 00054 sb.append("<use-caller-identity>\n"); 00055 00056 indent += 2; 00057 00058 indent -= 2; 00059 sb.append(indent(indent)); 00060 sb.append("</use-caller-identity>\n"); 00061 00062 return sb.toString(); 00063 } 00064 }