Class SimpleWsdl11Definition
java.lang.Object
org.springframework.ws.wsdl.wsdl11.SimpleWsdl11Definition
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
,Wsdl11Definition
,WsdlDefinition
public class SimpleWsdl11Definition
extends Object
implements Wsdl11Definition, org.springframework.beans.factory.InitializingBean
The default
Wsdl11Definition
implementation.
Allows a WSDL to be set by the wsdl
property, or directly in the
constructor
.
- Since:
- 1.0.0
- Author:
- Arjen Poutsma
-
Constructor Summary
ConstructorDescriptionCreate a new instance of theSimpleWsdl11Definition
class.SimpleWsdl11Definition
(org.springframework.core.io.Resource wsdlResource) Create a new instance of theSimpleWsdl11Definition
class with the specified resource. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Returns theSource
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.toString()
-
Constructor Details
-
SimpleWsdl11Definition
public SimpleWsdl11Definition()Create a new instance of theSimpleWsdl11Definition
class.A subsequent call to the
setWsdl(Resource)
method is required. -
SimpleWsdl11Definition
public SimpleWsdl11Definition(org.springframework.core.io.Resource wsdlResource) Create a new instance of theSimpleWsdl11Definition
class with the specified resource.- Parameters:
wsdlResource
- the WSDL resource; must not benull
- Throws:
IllegalArgumentException
- if the suppliedwsdlResource
isnull
-
-
Method Details
-
afterPropertiesSet
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Throws:
Exception
-
getSource
Description copied from interface:WsdlDefinition
Returns theSource
of the definition.- Specified by:
getSource
in interfaceWsdlDefinition
- Returns:
- the
Source
of this WSDL definition
-
setWsdl
public void setWsdl(org.springframework.core.io.Resource wsdlResource) Set the WSDL resource to be exposed by calls to this instances'getSource()
method.- Parameters:
wsdlResource
- the WSDL resource
-
toString
-