public class SimpleWsdl11Definition extends Object implements Wsdl11Definition, org.springframework.beans.factory.InitializingBean
Wsdl11Definition implementation.
Allows a WSDL to be set by the wsdl property, or directly in the constructor.
| Constructor and Description |
|---|
SimpleWsdl11Definition()
Create a new instance of the
SimpleWsdl11Definition class. |
SimpleWsdl11Definition(org.springframework.core.io.Resource wsdlResource)
Create a new instance of the
SimpleWsdl11Definition class with the specified resource. |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
Source |
getSource()
Returns the
Source of the definition. |
void |
setWsdl(org.springframework.core.io.Resource wsdlResource)
Set the WSDL resource to be exposed by calls to this instances'
getSource() method. |
String |
toString() |
public SimpleWsdl11Definition()
SimpleWsdl11Definition class.
A subsequent call to the setWsdl(Resource) method is required.
public SimpleWsdl11Definition(org.springframework.core.io.Resource wsdlResource)
SimpleWsdl11Definition class with the specified resource.wsdlResource - the WSDL resource; must not be nullIllegalArgumentException - if the supplied wsdlResource is nullpublic void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic Source getSource()
WsdlDefinitionSource of the definition.getSource in interface WsdlDefinitionSource of this WSDL definitionpublic void setWsdl(org.springframework.core.io.Resource wsdlResource)
getSource() method.wsdlResource - the WSDL resource