1 28 29 package com.caucho.jca.cfg; 30 31 import com.caucho.log.Log; 32 import com.caucho.util.L10N; 33 34 import java.util.logging.Logger ; 35 36 39 public class ConnectorConfig { 40 private static final L10N L = new L10N(ConnectorConfig.class); 41 private static final Logger log = Log.open(ConnectorConfig.class); 42 43 private String _id; 44 45 private String _displayName; 46 47 private String _vendorName; 48 private String _specVersion; 49 private String _eisType; 50 private String _resourceAdapterVersion; 51 52 private ResourceAdapterConfig _resourceAdapter; 53 54 public ConnectorConfig() 55 { 56 _resourceAdapter = new ResourceAdapterConfig(); 57 } 58 59 62 public void setId(String id) 63 { 64 _id = id; 65 } 66 67 70 public String getId() 71 { 72 return _id; 73 } 74 75 78 public void setVersion(String version) 79 { 80 } 81 82 85 public void setSchemaLocation(String schema) 86 { 87 } 88 89 92 public void setVendorName(String vendorName) 93 { 94 _vendorName = vendorName; 95 } 96 97 100 public void setDisplayName(String displayName) 101 { 102 _displayName = displayName; 103 } 104 105 108 public String getDisplayName() 109 { 110 return _displayName; 111 } 112 113 116 public void setDescription(String description) 117 { 118 } 119 120 123 public Icon createIcon() 124 { 125 return new Icon(); 126 } 127 128 131 public License createLicense() 132 { 133 return new License(); 134 } 135 136 139 public void setEISType(String eisType) 140 { 141 _eisType = eisType; 142 } 143 144 147 public void setResourceAdapterVersion(String version) 148 { 149 _resourceAdapterVersion = version; 150 } 151 152 155 public void setSpecVersion(String version) 156 { 157 } 158 159 162 public ResourceAdapterConfig createResourceadapter() 163 { 164 return _resourceAdapter; 165 } 166 167 170 public ResourceAdapterConfig getResourceAdapter() 171 { 172 return _resourceAdapter; 173 } 174 175 public void init() 176 { 177 } 178 179 public static class Icon { 180 public void setSmallIcon(String value) 181 { 182 } 183 184 public void setLargeIcon(String value) 185 { 186 } 187 } 188 189 public static class License { 190 public void setDescription(String value) 191 { 192 } 193 194 public void setLicenseRequired(boolean required) 195 { 196 } 197 } 198 } 199 | Popular Tags |