org.objectweb.jonas.ws.handler
Class WSDLHandlerFactory

java.lang.Object
  extended by org.objectweb.jonas.ws.handler.WSDLHandlerFactory

public class WSDLHandlerFactory
extends java.lang.Object

WSDLHandlerFactory is used to dynamically instantiate a WSDLHandler from a Property file.
Minimum properties in file :
- jonas.service.wsdl.class : Fully qualified classname to be instanciated

Author:
Guillaume Sauthier

Field Summary
static java.lang.String CLASSNAME
          Classname property
 
Method Summary
 WSDLHandler newHandler(java.lang.String filename)
          Create a new WSDLHandler.
static WSDLHandlerFactory newInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASSNAME

public static final java.lang.String CLASSNAME
Classname property

See Also:
Constant Field Values
Method Detail

newInstance

public static WSDLHandlerFactory newInstance()
Returns:
Returns a new WSDLHandlerFactory instance.

newHandler

public WSDLHandler newHandler(java.lang.String filename)
                       throws WSServiceException
Create a new WSDLHandler.

Parameters:
filename - properties filename to be loaded
Returns:
a WSDLHandler init from properties
Throws:
WSServiceException - when filename is null or cannot be loaded (as ClassLoader Resource or as System file)