org.ow2.jonas.ws.publish.internal.manager
Class WSDLPublisherFactory

java.lang.Object
  extended by org.ow2.jonas.ws.publish.internal.manager.WSDLPublisherFactory

public class WSDLPublisherFactory
extends 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 String CLASSNAME
          Classname property.
 
Method Summary
static WSDLPublisherFactory newInstance()
           
 WSDLPublisher newPublisher(String filename)
          Create a new WSDLPublisher.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASSNAME

public static final String CLASSNAME
Classname property.

See Also:
Constant Field Values
Method Detail

newInstance

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

newPublisher

public WSDLPublisher newPublisher(String filename)
                           throws WSDLPublisherException
Create a new WSDLPublisher.

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


Copyright © 2010 OW2 Consortium. All Rights Reserved.