Class ProviderBasedWsdl4jDefinition
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean,Wsdl11Definition,WsdlDefinition
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)
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe prefix used to register the target namespace in the WSDL. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidReturns theBindingsProviderfor this definition.Returns theImportsProviderfor this definition.Returns theMessagesProviderfor this definition.Returns thePortTypesProviderfor this definition.Returns theServicesProviderfor this definition.Returns the target namespace for the WSDL definition.Returns theTypesProviderfor this definition.voidsetBindingsProvider(BindingsProvider bindingsProvider) Sets theBindingsProviderfor this definition.voidsetImportsProvider(ImportsProvider importsProvider) Sets theImportsProviderfor this definition.voidsetMessagesProvider(MessagesProvider messagesProvider) Sets theMessagesProviderfor this definition.voidsetPortTypesProvider(PortTypesProvider portTypesProvider) Sets thePortTypesProviderfor this definition.voidsetServicesProvider(ServicesProvider servicesProvider) Sets theServicesProviderfor this definition.voidsetTargetNamespace(String targetNamespace) Sets the target namespace used for this definition.voidsetTypesProvider(TypesProvider typesProvider) Sets theTypesProviderfor this definition.Methods inherited from class org.springframework.ws.wsdl.wsdl11.Wsdl4jDefinition
getDefinition, getSource, setDefinition, toString
-
Field Details
-
TARGET_NAMESPACE_PREFIX
The prefix used to register the target namespace in the WSDL.- See Also:
-
-
Constructor Details
-
ProviderBasedWsdl4jDefinition
public ProviderBasedWsdl4jDefinition()
-
-
Method Details
-
getImportsProvider
Returns theImportsProviderfor this definition.Default is
null, indicating that no<import>will be created- Returns:
- the import provider; or
null
-
setImportsProvider
Sets theImportsProviderfor this definition.Default is
null, indicating that no<import>will be created- Parameters:
importsProvider- the import provider
-
getTypesProvider
Returns theTypesProviderfor this definition.Defaults to
null, indicating that no<types>will be created- Returns:
- the types provider; or
null
-
setTypesProvider
Sets theTypesProviderfor this definition.Defaults to
null, indicating that no<types>will be created- Parameters:
typesProvider- the types provider; ornull
-
getMessagesProvider
Returns theMessagesProviderfor this definition.Defaults to
null, indicating that no<message>will be created- Returns:
- the messages provider; or
null
-
setMessagesProvider
Sets theMessagesProviderfor this definition.Defaults to
null, indicating that no<message>will be created- Parameters:
messagesProvider- the messages provider; ornull
-
getPortTypesProvider
Returns thePortTypesProviderfor this definition.Defaults to
null, indicating that no<portType>will be created- Returns:
- the port types provider; or
null
-
setPortTypesProvider
Sets thePortTypesProviderfor this definition.Defaults to
null, indicating that no<portType>will be created- Parameters:
portTypesProvider- the port types provider; ornull
-
getBindingsProvider
Returns theBindingsProviderfor this definition.Defaults to
null, indicating that no<binding>will be created- Returns:
- the binding provider; or
null
-
setBindingsProvider
Sets theBindingsProviderfor this definition.Defaults to
null, indicating that no<binding>will be created- Parameters:
bindingsProvider- the bindings provider; ornull
-
getServicesProvider
Returns theServicesProviderfor this definition.Defaults to
null, indicating that no<service>will be created- Returns:
- the services provider; or
null
-
setServicesProvider
Sets theServicesProviderfor this definition.Defaults to
null, indicating that no<service>will be created- Parameters:
servicesProvider- the services provider; ornull
-
getTargetNamespace
Returns the target namespace for the WSDL definition.- Returns:
- the target namespace
- See Also:
-
Definition.getTargetNamespace()
-
setTargetNamespace
Sets the target namespace used for this definition. Required.- Parameters:
targetNamespace- the target namespace- See Also:
-
Definition.setTargetNamespace(String)
-
afterPropertiesSet
public void afterPropertiesSet() throws javax.wsdl.WSDLException- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
javax.wsdl.WSDLException
-