|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.ws.wsdl.wsdl11.builder.AbstractWsdl4jDefinitionBuilder org.springframework.ws.wsdl.wsdl11.builder.AbstractBindingWsdl4jDefinitionBuilder
DefaultWsdl11Definition
and the org.springframework.ws.wsdl.wsdl11.provider
package
public abstract class AbstractBindingWsdl4jDefinitionBuilder
Abstract base class for Wsdl11DefinitionBuilder
implementations that use WSDL4J and contain a concrete
part. Creates a binding
that matches any present portType
, and a service containing
port
s that match the binding
s. Lets subclasses populate these through template methods.
Field Summary |
---|
Fields inherited from class org.springframework.ws.wsdl.wsdl11.builder.AbstractWsdl4jDefinitionBuilder |
---|
logger |
Constructor Summary | |
---|---|
AbstractBindingWsdl4jDefinitionBuilder()
Deprecated. |
Method Summary | |
---|---|
void |
buildBindings(Definition definition)
Deprecated. Creates a Binding for each PortType in the definition, and calls populateBinding(Binding,
PortType) with it. |
void |
buildServices(Definition definition)
Deprecated. Creates a single Service , and calls populateService(Service) with it. |
protected void |
populateBinding(Binding binding,
PortType portType)
Deprecated. Called after the Binding has been created, but before any sub-elements are added. |
protected void |
populateBindingFault(BindingFault bindingFault,
Fault fault)
Deprecated. Called after the BindingFault has been created. |
protected void |
populateBindingInput(BindingInput bindingInput,
Input input)
Deprecated. Called after the BindingInput has been created. |
protected void |
populateBindingOperation(BindingOperation bindingOperation,
Operation operation)
Deprecated. Called after the BindingOperation has been created, but before any sub-elements are added. |
protected void |
populateBindingOutput(BindingOutput bindingOutput,
Output output)
Deprecated. Called after the BindingOutput has been created. |
protected void |
populatePort(Port port,
Binding binding)
Deprecated. Called after the Port has been created, but before any sub-elements are added. |
protected void |
populateService(Service service)
Deprecated. Called after the Binding has been created, but before any sub-elements are added. |
Methods inherited from class org.springframework.ws.wsdl.wsdl11.builder.AbstractWsdl4jDefinitionBuilder |
---|
buildBindings, buildDefinition, buildImports, buildImports, buildMessages, buildMessages, buildPortTypes, buildPortTypes, buildServices, buildTypes, buildTypes, createExtension, getDefinition, populateDefinition, populateExtensionRegistry |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractBindingWsdl4jDefinitionBuilder()
Method Detail |
---|
public void buildBindings(Definition definition) throws WSDLException
Binding
for each PortType
in the definition, and calls populateBinding(Binding,
PortType)
with it. Creates a BindingOperation
for each Operation
in the port type, a BindingInput
for each Input
in the operation, etc.
Calls the various populate
methods with the created WSDL4J objects.
buildBindings
in class AbstractWsdl4jDefinitionBuilder
definition
- the WSDL4J Definition
WSDLException
- in case of errorspopulateBinding(Binding, PortType)
,
populateBindingOperation(BindingOperation, Operation)
,
populateBindingInput(BindingInput, Input)
,
populateBindingOutput(BindingOutput, Output)
,
populateBindingFault(BindingFault, Fault)
protected void populateBinding(Binding binding, PortType portType) throws WSDLException
Binding
has been created, but before any sub-elements are added. Subclasses can
implement this method to define the binding name, or add extensions to it.
Default implementation sets the binding name to the port type name with the suffix Binding
appended to
it.
binding
- the WSDL4J Binding
portType
- the corresponding PortType
WSDLException
- in case of errorsprotected void populateBindingOperation(BindingOperation bindingOperation, Operation operation) throws WSDLException
BindingOperation
has been created, but before any sub-elements are added. Subclasses can
implement this method to define the binding name, or add extensions to it.
Default implementation sets the name of the binding operation to the name of the operation.
bindingOperation
- the WSDL4J BindingOperation
operation
- the corresponding WSDL4J Operation
WSDLException
- in case of errorsprotected void populateBindingInput(BindingInput bindingInput, Input input) throws WSDLException
BindingInput
has been created. Subclasses can implement this method to define the name,
or add extensions to it.
Default implementation set the name of the binding input to the name of the input.
bindingInput
- the WSDL4J BindingInput
input
- the corresponding WSDL4J Input
WSDLException
- in case of errorsprotected void populateBindingOutput(BindingOutput bindingOutput, Output output) throws WSDLException
BindingOutput
has been created. Subclasses can implement this method to define the name,
or add extensions to it.
Default implementation set the name of the binding output to the name of the output.
bindingOutput
- the WSDL4J BindingOutput
output
- the corresponding WSDL4J Output
WSDLException
- in case of errorsprotected void populateBindingFault(BindingFault bindingFault, Fault fault) throws WSDLException
BindingFault
has been created. Subclasses can implement this method to define the name,
or add extensions to it.
Default implementation set the name of the binding fault to the name of the fault.
bindingFault
- the WSDL4J BindingFault
fault
- the corresponding WSDL4J Fault
WSDLException
- in case of errorspublic void buildServices(Definition definition) throws WSDLException
Service
, and calls populateService(Service)
with it. Creates a corresponding
Port
for each Binding
, which is passed to populatePort(Port, Binding)
.
buildServices
in class AbstractWsdl4jDefinitionBuilder
definition
- the WSDL4J Definition
WSDLException
- in case of errorspopulatePort(Port, Binding)
protected void populateService(Service service) throws WSDLException
Binding
has been created, but before any sub-elements are added. Subclasses can
implement this method to define the binding name, or add extensions to it.
Default implementation is empty.
service
- the WSDL4J Service
WSDLException
- in case of errorsprotected void populatePort(Port port, Binding binding) throws WSDLException
Port
has been created, but before any sub-elements are added. Subclasses can implement
this method to define the port name, or add extensions to it.
Default implementation sets the port name to the port type name with the suffix Port
appended to it.
port
- the WSDL4J Port
binding
- the corresponding WSDL4J Binding
WSDLException
- in case of errors
|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |