1 5 package xdoclet.modules.hp.hpas.ejb; 6 7 import xdoclet.modules.ejb.dd.AbstractEjbDeploymentDescriptorSubTask; 8 9 17 public class HPASSubTask extends AbstractEjbDeploymentDescriptorSubTask 18 { 19 private final static String HPAS_DD_SCHEMA = "http://www.hp.bluestone.com/xml/schemas/hp-ejb-jar.xsd"; 20 21 private final static String DEFAULT_TEMPLATE_FILE = "resources/hp-ejb-jar_xml.xdt"; 22 23 private final static String DEFAULT_GENERATED_FILE = "hp-ejb-jar.xml"; 24 25 protected String sfsbPassivationRoot = ""; 26 27 protected String persistenceProduct = "VXML"; 28 29 protected String persistenceVersion = ""; 30 31 protected String persistenceClass = "com.hp.mwlabs.j2ee.containers.ejb.persistence.vxml.CMPPersistenceManager"; 32 33 protected String persistenceSuffix = ""; 34 35 public HPASSubTask() 36 { 37 setTemplateURL(getClass().getResource(DEFAULT_TEMPLATE_FILE)); 38 setDestinationFile(DEFAULT_GENERATED_FILE); 39 setSchema(HPAS_DD_SCHEMA); 40 setValidateXML(false); 41 } 42 43 48 public String getSfsbPassivationRoot() 49 { 50 return sfsbPassivationRoot; 51 } 52 53 58 public String getPersistenceProduct() 59 { 60 return persistenceProduct; 61 } 62 63 68 public String getPersistenceVersion() 69 { 70 return persistenceVersion; 71 } 72 73 78 public String getPersistenceClass() 79 { 80 return persistenceClass; 81 } 82 83 88 public String getPersistenceSuffix() 89 { 90 return persistenceSuffix; 91 } 92 93 100 public void setSfsbPassivationRoot(String sfsbPassivationRoot) 101 { 102 this.sfsbPassivationRoot = sfsbPassivationRoot; 103 } 104 105 111 public void setPersistenceProduct(String persistenceProduct) 112 { 113 this.persistenceProduct = persistenceProduct; 114 } 115 116 122 public void setPersistenceVersion(String persistenceVersion) 123 { 124 this.persistenceVersion = persistenceVersion; 125 } 126 127 134 public void setPersistenceClass(String persistenceClass) 135 { 136 this.persistenceClass = persistenceClass; 137 } 138 139 146 public void setPersistenceSuffix(String persistenceSuffix) 147 { 148 this.persistenceSuffix = persistenceSuffix; 149 } 150 } 151 | Popular Tags |