public class ProviderBasedWsdl4jDefinition extends Wsdl4jDefinition implements org.springframework.beans.factory.InitializingBean
Wsdl11Definition
that uses a provider-based mechanism to populate a WSDL4J Definition
.
All providers are optional, indicating that a particular part of the WSDL will not be created. Providers can be set
via various properties. The providers are invoked
in the following order:
This definition requires the target namespace to be set via setTargetNamespace(String)
setImportsProvider(ImportsProvider)
,
setTypesProvider(TypesProvider)
,
setMessagesProvider(MessagesProvider)
,
setPortTypesProvider(PortTypesProvider)
,
setBindingsProvider(BindingsProvider)
,
setServicesProvider(ServicesProvider)
Modifier and Type | Field and Description |
---|---|
static String |
TARGET_NAMESPACE_PREFIX
The prefix used to register the target namespace in the WSDL.
|
Constructor and Description |
---|
ProviderBasedWsdl4jDefinition() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
BindingsProvider |
getBindingsProvider()
Returns the
BindingsProvider for this definition. |
ImportsProvider |
getImportsProvider()
Returns the
ImportsProvider for this definition. |
MessagesProvider |
getMessagesProvider()
Returns the
MessagesProvider for this definition. |
PortTypesProvider |
getPortTypesProvider()
Returns the
PortTypesProvider for this definition. |
ServicesProvider |
getServicesProvider()
Returns the
ServicesProvider for this definition. |
String |
getTargetNamespace()
Returns the target namespace for the WSDL definition.
|
TypesProvider |
getTypesProvider()
Returns the
TypesProvider for this definition. |
void |
setBindingsProvider(BindingsProvider bindingsProvider)
Sets the
BindingsProvider for this definition. |
void |
setImportsProvider(ImportsProvider importsProvider)
Sets the
ImportsProvider for this definition. |
void |
setMessagesProvider(MessagesProvider messagesProvider)
Sets the
MessagesProvider for this definition. |
void |
setPortTypesProvider(PortTypesProvider portTypesProvider)
Sets the
PortTypesProvider for this definition. |
void |
setServicesProvider(ServicesProvider servicesProvider)
Sets the
ServicesProvider for this definition. |
void |
setTargetNamespace(String targetNamespace)
Sets the target namespace used for this definition.
|
void |
setTypesProvider(TypesProvider typesProvider)
Sets the
TypesProvider for this definition. |
getDefinition, getSource, setDefinition, toString
public static final String TARGET_NAMESPACE_PREFIX
public ImportsProvider getImportsProvider()
ImportsProvider
for this definition.
Default is null
, indicating that no <import>
will be created
null
public void setImportsProvider(ImportsProvider importsProvider)
ImportsProvider
for this definition.
Default is null
, indicating that no <import>
will be created
importsProvider
- the import providerpublic TypesProvider getTypesProvider()
TypesProvider
for this definition.
Defaults to null
, indicating that no <types>
will be created
null
public void setTypesProvider(TypesProvider typesProvider)
TypesProvider
for this definition.
Defaults to null
, indicating that no <types>
will be created
typesProvider
- the types provider; or null
public MessagesProvider getMessagesProvider()
MessagesProvider
for this definition.
Defaults to null
, indicating that no <message>
will be created
null
public void setMessagesProvider(MessagesProvider messagesProvider)
MessagesProvider
for this definition.
Defaults to null
, indicating that no <message>
will be created
messagesProvider
- the messages provider; or null
public PortTypesProvider getPortTypesProvider()
PortTypesProvider
for this definition.
Defaults to null
, indicating that no <portType>
will be created
null
public void setPortTypesProvider(PortTypesProvider portTypesProvider)
PortTypesProvider
for this definition.
Defaults to null
, indicating that no <portType>
will be created
portTypesProvider
- the port types provider; or null
public BindingsProvider getBindingsProvider()
BindingsProvider
for this definition.
Defaults to null
, indicating that no <binding>
will be created
null
public void setBindingsProvider(BindingsProvider bindingsProvider)
BindingsProvider
for this definition.
Defaults to null
, indicating that no <binding>
will be created
bindingsProvider
- the bindings provider; or null
public ServicesProvider getServicesProvider()
ServicesProvider
for this definition.
Defaults to null
, indicating that no <service>
will be created
null
public void setServicesProvider(ServicesProvider servicesProvider)
ServicesProvider
for this definition.
Defaults to null
, indicating that no <service>
will be created
servicesProvider
- the services provider; or null
public String getTargetNamespace()
Definition.getTargetNamespace()
public void setTargetNamespace(String targetNamespace)
targetNamespace
- the target namespaceDefinition.setTargetNamespace(String)
public void afterPropertiesSet() throws javax.wsdl.WSDLException
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
javax.wsdl.WSDLException