1 25 26 package org.objectweb.jonas_ws.wsgen.generator; 27 28 import org.objectweb.jonas_lib.genbase.GenBaseException; 29 import org.objectweb.jonas_lib.genbase.archive.Archive; 30 import org.objectweb.jonas_lib.genbase.generator.Config; 31 32 import org.objectweb.jonas_ws.deployment.api.ServiceDesc; 33 import org.objectweb.jonas_ws.wsgen.ddmodifier.WebServicesDDModifier; 34 import org.objectweb.jonas_ws.wsgen.ddmodifier.WsEndpointDDModifier; 35 36 40 public abstract class WsEndpointGenerator extends Generator { 41 42 43 private ServiceDesc service; 44 45 46 private Archive archive; 47 48 49 private WsEndpointDDModifier modifier; 50 51 52 private WebServicesDDModifier wsModifier; 53 54 62 public WsEndpointGenerator(Config config, ServiceDesc serviceDesc, WsEndpointDDModifier ddm, 63 WebServicesDDModifier wsddm, Archive arch) throws GenBaseException { 64 super(config); 65 service = serviceDesc; 66 modifier = ddm; 67 wsModifier = wsddm; 68 archive = arch; 69 } 70 71 74 public ServiceDesc getService() { 75 return service; 76 } 77 78 81 public Archive getArchive() { 82 return archive; 83 } 84 85 88 public WsEndpointDDModifier getModifier() { 89 return modifier; 90 } 91 92 95 public WebServicesDDModifier getWsModifier() { 96 return wsModifier; 97 } 98 } | Popular Tags |