org.codehaus.xfire.service
Interface ServiceFactory

All Known Implementing Classes:
ObjectServiceFactory

public interface ServiceFactory

Author:
Dan Diephouse

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

Method Detail

create

Service create(java.lang.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(java.lang.Class clazz,
               java.util.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(java.lang.Class clazz,
               java.lang.String name,
               java.lang.String namespace,
               java.util.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(java.lang.Class clazz,
               javax.xml.namespace.QName service,
               java.net.URL wsdlUrl,
               java.util.Map properties)
Create a service from a WSDL file.

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

create

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

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


Copyright © 2004-2009. All Rights Reserved.