1 5 package xdoclet.modules.caucho; 6 7 import xdoclet.XmlSubTask; 8 9 20 public class ResinEjbSubTask extends XmlSubTask 21 { 22 private final static String DEFAULT_TEMPLATE_FILE = "resources/resin-ejb.xdt"; 23 private final static String DD_FILE_NAME = "resin.ejb"; 24 25 private String cacheSize = ""; 26 private String cacheTimeout = ""; 27 private String generateSourceComments = "true"; 28 29 30 33 public ResinEjbSubTask() 34 { 35 setTemplateURL(getClass().getResource(DEFAULT_TEMPLATE_FILE)); 36 setDestinationFile(DD_FILE_NAME); 37 setPublicId(null); 38 setSystemId(null); 39 setSchema(null); 40 setDtdURL(null); 41 setValidateXML(false); 42 } 43 44 45 50 public String getCacheSize() 51 { 52 return cacheSize; 53 } 54 55 60 public String getCacheTimeout() 61 { 62 return cacheTimeout; 63 } 64 65 71 public String getGenerateSourceComments() 72 { 73 return generateSourceComments; 74 } 75 76 public void setCacheSize(String cacheSize) 77 { 78 this.cacheSize = cacheSize; 79 } 80 81 public void setCacheTimeout(String cacheTimeout) 82 { 83 this.cacheTimeout = cacheTimeout; 84 } 85 86 public void setGenerateSourceComments(String generateSourceComments) 87 { 88 this.generateSourceComments = generateSourceComments; 89 } 90 } 91 | Popular Tags |