public class JavaDeployWriter extends JavaWriter
Modifier and Type | Field and Description |
---|---|
protected javax.wsdl.Definition |
definition
Field definition
|
protected Emitter |
emitter
Field emitter
|
protected static org.apache.commons.logging.Log |
log
Field log
|
protected SymbolTable |
symbolTable
Field symbolTable
|
LINE_LENGTH, type
Constructor and Description |
---|
JavaDeployWriter(Emitter emitter,
javax.wsdl.Definition definition,
SymbolTable symbolTable)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
generate()
Generate deploy.wsdd.
|
protected String |
getFileName()
Return the fully-qualified name of the deploy.wsdd file
to be generated.
|
protected PrintWriter |
getPrintWriter(String filename)
Method getPrintWriter
|
protected void |
writeDeployBinding(org.apache.axis.model.wsdd.Service service,
BindingEntry bEntry)
Write out deployment instructions for given WSDL binding
|
protected void |
writeDeployPort(org.apache.axis.model.wsdd.Deployment deployment,
javax.wsdl.Port port,
javax.wsdl.Service service,
BindingEntry bEntry)
Write out deployment and undeployment instructions for given WSDL port
|
protected void |
writeDeployServices(org.apache.axis.model.wsdd.Deployment deployment)
Write out deployment and undeployment instructions for each WSDL service
|
protected void |
writeDeployTypes(org.apache.axis.model.wsdd.Service service,
javax.wsdl.Binding binding,
boolean hasLiteral,
boolean hasMIME,
Use use)
Write out bean mappings for each type
|
protected void |
writeFileBody(PrintWriter pw)
Write the body of the deploy.wsdd file.
|
protected void |
writeFileHeader(PrintWriter pw)
Replace the default file header with the deployment doc file header.
|
protected void |
writeOperation(org.apache.axis.model.wsdd.Service service,
String javaOperName,
QName elementQName,
QName returnQName,
QName returnType,
Parameters params,
QName bindingQName,
ArrayList faults,
String SOAPAction)
Raw routine that writes out the operation and parameters.
|
closePrintWriter, getJavadocDescriptionPart, isFileGenerated, registerFile, verboseMessage, writeComment, writeComment, writeFileFooter
protected static org.apache.commons.logging.Log log
protected javax.wsdl.Definition definition
protected SymbolTable symbolTable
protected Emitter emitter
public JavaDeployWriter(Emitter emitter, javax.wsdl.Definition definition, SymbolTable symbolTable)
emitter
- definition
- symbolTable
- public void generate() throws IOException
generate
in interface Generator
generate
in class JavaWriter
IOException
protected String getFileName()
getFileName
in class JavaWriter
protected void writeFileHeader(PrintWriter pw) throws IOException
writeFileHeader
in class JavaWriter
pw
- IOException
protected void writeFileBody(PrintWriter pw) throws IOException
writeFileBody
in class JavaWriter
pw
- IOException
protected void writeDeployServices(org.apache.axis.model.wsdd.Deployment deployment) throws IOException
pw
- IOException
protected void writeDeployTypes(org.apache.axis.model.wsdd.Service service, javax.wsdl.Binding binding, boolean hasLiteral, boolean hasMIME, Use use) throws IOException
pw
- binding
- hasLiteral
- hasMIME
- use
- IOException
protected void writeDeployPort(org.apache.axis.model.wsdd.Deployment deployment, javax.wsdl.Port port, javax.wsdl.Service service, BindingEntry bEntry) throws IOException
pw
- port
- service
- bEntry
- IOException
protected void writeDeployBinding(org.apache.axis.model.wsdd.Service service, BindingEntry bEntry) throws IOException
pw
- bEntry
- IOException
protected void writeOperation(org.apache.axis.model.wsdd.Service service, String javaOperName, QName elementQName, QName returnQName, QName returnType, Parameters params, QName bindingQName, ArrayList faults, String SOAPAction)
pw
- javaOperName
- elementQName
- returnQName
- returnType
- params
- bindingQName
- faults
- protected PrintWriter getPrintWriter(String filename) throws IOException
getPrintWriter
in class JavaWriter
filename
- IOException
Copyright © The Apache Software Foundation. All Rights Reserved.