org.objectweb.jonas.ws.base.handler
Class FileWSDLHandler
java.lang.Object
org.objectweb.jonas.ws.base.handler.FileWSDLHandler
- All Implemented Interfaces:
- WSDLHandler
public class FileWSDLHandler
- extends Object
- implements WSDLHandler
In charge of published 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
Method Summary |
void |
publish(ServiceDesc sd)
Publish the given WSDL to the directory location. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileWSDLHandler
public FileWSDLHandler(Properties props)
throws WSServiceException
- Return a new instance of FileWSDLHandler.
- Parameters:
props
- Properties used to configure FileHandler
- Throws:
WSServiceException
- When Cannot create the directory
(if it don't exist or not set in property file).
publish
public void publish(ServiceDesc sd)
throws WSServiceException
- Publish the given WSDL to the directory location.
- Specified by:
publish
in interface WSDLHandler
- Parameters:
sd
- the Service containing the WSDL file to publish.
- Throws:
WSServiceException
- When publication fails.
Copyright © 2007 OW2 Consortium. All Rights Reserved.