Spring Web Services Framework

org.springframework.ws.wsdl.wsdl11
Class SimpleWsdl11Definition

java.lang.Object
  extended by org.springframework.ws.wsdl.wsdl11.SimpleWsdl11Definition
All Implemented Interfaces:
InitializingBean, Wsdl11Definition, WsdlDefinition

public class SimpleWsdl11Definition
extends Object
implements Wsdl11Definition, 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
SimpleWsdl11Definition()
          Create a new instance of the SimpleWsdl11Definition class.
SimpleWsdl11Definition(Resource wsdlResource)
          Create a new instance of the SimpleWsdl11Definition class with the specified resource.
 
Method Summary
 void afterPropertiesSet()
           
 Source getSource()
          Returns the Source of the definition.
 void setWsdl(Resource wsdlResource)
          Set the WSDL resource to be exposed by calls to this instances' getSource() method.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimpleWsdl11Definition

public SimpleWsdl11Definition()
Create a new instance of the SimpleWsdl11Definition class.

A subsequent call to the setWsdl(Resource) method is required.


SimpleWsdl11Definition

public SimpleWsdl11Definition(Resource wsdlResource)
Create a new instance of the SimpleWsdl11Definition class with the specified resource.

Parameters:
wsdlResource - the WSDL resource; must not be null
Throws:
IllegalArgumentException - if the supplied wsdlResource is null
Method Detail

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface InitializingBean
Throws:
Exception

getSource

public Source getSource()
Description copied from interface: WsdlDefinition
Returns the Source of the definition.

Specified by:
getSource in interface WsdlDefinition
Returns:
the Source of this WSDL definition

setWsdl

public void setWsdl(Resource wsdlResource)
Set the WSDL resource to be exposed by calls to this instances' getSource() method.

Parameters:
wsdlResource - the WSDL resource

toString

public String toString()
Overrides:
toString in class Object

Spring Web Services Framework

Copyright © 2005-2010 The Spring Web Services Framework. All Rights Reserved.