org.codehaus.xfire.service
Interface ServiceFactory

All Known Implementing Classes:
ObjectServiceFactory

public interface ServiceFactory

Author:
Dan Diephouse

Method Summary
 Service create(Class clazz)
          Create a service from the specified class.
 Service create(Class clazz, Map properties)
          Create a service from the specified class.
 Service create(Class clazz, QName service, javax.wsdl.Definition def, Map properties)
          Create a service from a WSDL file.
 Service create(Class clazz, QName service, URL wsdlUrl, Map properties)
          Create a service from a WSDL file.
 Service create(Class clazz, String name, String namespace, Map properties)
          Create a service from the specified class.
 

Method Detail

create

Service create(Class clazz)
Create a service from the specified class.

Parameters:
clazz - The service class used to populate the operations and parameters.
Returns:
The service.

create

Service create(Class clazz,
               Map properties)
Create a service from the specified class.

Parameters:
clazz - The service class used to populate the operations and parameters.
properties - Properties to set on the service and use in construction.
Returns:
The service.

create

Service create(Class clazz,
               String name,
               String namespace,
               Map properties)
Create a service from the specified class.

Parameters:
clazz - The service class used to populate the operations and parameters.
name - The name of the service.
namespace - The default namespace of the service.
properties - Service specific properties which the ServiceFactory will use to create the service.
Returns:
The service.

create

Service create(Class clazz,
               QName service,
               URL wsdlUrl,
               Map properties)
Create a service from a WSDL file.

Parameters:
clazz - The service class for the wsdl.
wsdlUrl - The WSDL URL.
Returns:
Throws:
Exception

create

Service create(Class clazz,
               QName service,
               javax.wsdl.Definition def,
               Map properties)
Create a service from a WSDL file.

Parameters:
clazz - The service class for the wsdl.
def - The WSDL definition.
Returns:
Throws:
Exception


Copyright © 2004-2013. All Rights Reserved.