1 23 package com.sun.enterprise.admin.wsmgmt.repository.impl; 24 25 import com.sun.enterprise.admin.wsmgmt.repository.spi.WebServiceInfo; 26 27 34 public class WebServiceInfoImpl implements WebServiceInfo { 35 36 55 56 public WebServiceInfoImpl( String name, String uri, String appid, 57 String bundleName, boolean isStandAlone, String wsdl, String mapfile, 58 String webservicesFile, String implType, String implName, 59 String implClass) { 60 wsName = name; 61 wsUri = uri; 62 wsAppId = appid; 63 wsAppStandAloneModule = isStandAlone; 64 wsBundleName = bundleName; 65 wsWSDL = wsdl; 66 wsWebServices = webservicesFile; 67 wsMapping = mapfile; 68 wsImplType = implType; 69 wsImplName = implName; 70 wsImplClass = implClass; 71 } 72 73 78 public String getName() { 79 return wsName; 80 } 81 82 87 public String getEndpointUri() { 88 return wsUri; 89 } 90 91 97 public String getAppId() { 98 return wsAppId; 99 } 100 101 106 public boolean isAppStandAloneModule() { 107 return wsAppStandAloneModule; 108 } 109 110 116 public String getBundleName() { 117 return wsBundleName; 118 } 119 120 125 public String getServiceImplType() { 126 return wsImplType; 127 } 128 129 134 public String getServiceImplName() { 135 return wsImplName; 136 } 137 138 143 public String getServiceImplClass() { 144 return wsImplClass; 145 } 146 147 152 public String getWSDLFileLocation() { 153 return wsWSDL; 154 } 155 156 161 public String getWebservicesFileLocation() { 162 return wsWebServices; 163 } 164 165 170 public String getMappingFileLocation() { 171 return wsMapping; 172 } 173 174 181 public String [] getDescriptorLocations() { 182 String [] list = new String [3]; 183 list[0] = wsWSDL; 184 list[1] = wsWebServices; 185 list[2] = wsMapping; 186 return list; 187 } 188 189 194 public String toString() { 195 return "Web Service Name: " + wsName + " URI: " + wsUri + 196 " Application Id " + wsAppId + " isStandAlone?: " + 197 wsAppStandAloneModule + " Bundle Name: " + wsBundleName + 198 " WSDL location " + wsWSDL + " Mapping file location: " + 199 wsMapping + " webservices.xml location: " + wsWebServices + 200 " impl Type " + wsImplType + " impl Name " + wsImplName + 201 " impl Class " + wsImplClass; 202 } 203 204 private String wsName; 205 private String wsUri; 206 private String wsAppId; 207 private boolean wsAppStandAloneModule; 208 private String wsBundleName; 209 private String wsWSDL; 210 private String wsWebServices; 211 private String wsMapping; 212 private String wsImplName; 213 private String wsImplType; 214 private String wsImplClass; 215 216 } 217 | Popular Tags |