1 57 58 package org.apache.wsif.wsdl.extensions.ejb; 59 60 import java.io.Serializable ; 61 62 import javax.wsdl.extensions.ExtensibilityElement; 63 import javax.xml.namespace.QName ; 64 65 71 public class EJBAddress implements ExtensibilityElement, Serializable { 72 73 private static final long serialVersionUID = 1L; 74 75 protected QName fieldElementType = EJBBindingConstants.Q_ELEM_EJB_ADDRESS; 76 78 protected Boolean fieldRequired = null; 79 80 protected java.lang.String fieldClassName; 81 protected java.lang.String fieldArchive; 82 protected java.lang.String fieldClassLoader; 83 protected java.lang.String fieldJndiName; 84 protected java.lang.String fieldInitialContextFactory; 85 protected java.lang.String fieldJndiProviderURL; 86 87 public java.lang.String getClassLoader() { 88 return fieldClassLoader; 89 } 90 91 public java.lang.String getClassName() { 92 return fieldClassName; 93 } 94 95 public java.lang.String getArchive() { 96 return fieldArchive; 97 } 98 99 public java.lang.String getInitialContextFactory() { 100 return fieldInitialContextFactory; 101 } 102 103 public java.lang.String getJndiProviderURL() { 104 return fieldJndiProviderURL; 105 } 106 107 112 public QName getElementType() { 113 return fieldElementType; 114 } 115 116 public java.lang.String getJndiName() { 117 return fieldJndiName; 118 } 119 120 124 public Boolean getRequired() { 125 return fieldRequired; 126 } 127 128 public void setClassLoader(java.lang.String newClassLoader) { 129 fieldClassLoader = newClassLoader; 130 } 131 132 public void setClassName(java.lang.String newClassName) { 133 fieldClassName = newClassName; 134 } 135 136 public void setArchive(java.lang.String newArchive) { 137 fieldArchive = newArchive; 138 } 139 140 public void setInitialContextFactory(java.lang.String newICF) { 141 fieldInitialContextFactory = newICF; 142 } 143 144 public void setJndiProviderURL(java.lang.String newProvider) { 145 fieldJndiProviderURL = newProvider; 146 } 147 148 153 public void setElementType(QName elementType) { 154 fieldElementType = elementType; 155 } 156 157 public void setJndiName(java.lang.String newJndiName) { 158 fieldJndiName = newJndiName; 159 } 160 161 165 public void setRequired(Boolean required) { 166 fieldRequired = required; 167 } 168 169 public String toString() { 170 StringBuffer strBuf = new StringBuffer (super.toString()); 171 172 strBuf.append("\nEJBAddress (" + fieldElementType + "):"); 173 strBuf.append("\nrequired=" + fieldRequired); 174 strBuf.append("\nclassName=" + fieldClassName); 175 strBuf.append("\narchive=" + fieldArchive); 176 strBuf.append("\nclassLoader=" + fieldClassLoader); 177 strBuf.append("\njndiName=" + fieldJndiName); 178 strBuf.append("\njndiProviderURL=" + fieldJndiProviderURL); 179 strBuf.append("\ninitialContextFactory=" + fieldInitialContextFactory); 180 181 return strBuf.toString(); 182 } 183 } | Popular Tags |