org.ow2.jonas.ws.publish.internal.file
Class FileWSDLPublisher
java.lang.Object
org.ow2.jonas.ws.publish.AbsWSDLPublisher
org.ow2.jonas.ws.publish.internal.file.FileWSDLPublisher
- All Implemented Interfaces:
- WSDLPublisher
public class FileWSDLPublisher
- extends AbsWSDLPublisher
- implements WSDLPublisher
In charge of publishing a given WSDL in a directory.
properties :
- jonas.service.publish.file.directory
: directory name where WSDLs will be placed (default to JONAS_BASE/wsdls)
- jonas.service.publish.file.encoding
: file encoding (default to UTF-8)
use the wsdl-publish-directory
if provided in jonas descriptors.
- Author:
- Xavier Delplanque, Guillaume Sauthier
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileWSDLPublisher
public FileWSDLPublisher(Properties props)
throws WSDLPublisherException
- Return a new instance of FileWSDLPublisher.
- Parameters:
props
- Properties used to configure FileWSDLPublisher
- Throws:
WSDLPublisherException
- When Cannot create the directory
(if it don't exist or not set in property file).
publish
public void publish(PublishableDefinition publishableDefinition)
throws WSDLPublisherException
- publish the given wsdl
- Specified by:
publish
in interface WSDLPublisher
- Parameters:
publishableDefinition
- the data containing the WSDL file to be
published and the publication info
- Throws:
WSDLPublisherException
- if an error occurs at the publishing.
Copyright © 2010 OW2 Consortium. All Rights Reserved.