|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectAbstractLogEnabled
org.codehaus.xfire.loom.DefaultServiceFactory
public class DefaultServiceFactory
Default implementation of a ServiceFactory
Constructor Summary | |
---|---|
DefaultServiceFactory()
|
Method Summary | |
---|---|
void |
addIgnoredMethods(java.lang.String className)
|
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,
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. |
protected TransportManager |
getTransportManager()
|
protected TypeMappingRegistry |
getTypeMappingRegistry()
|
void |
initialize()
|
void |
service(ServiceManager manager)
|
protected void |
setFactory(ObjectServiceFactory factory)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultServiceFactory()
Method Detail |
---|
public void service(ServiceManager manager) throws ServiceException
ServiceException
protected final TransportManager getTransportManager()
protected final TypeMappingRegistry getTypeMappingRegistry()
protected final void setFactory(ObjectServiceFactory factory)
public void initialize() throws java.lang.Exception
java.lang.Exception
public Service create(java.lang.Class clazz)
ServiceFactory
create
in interface ServiceFactory
clazz
- The service class used to populate the operations and parameters.
public void addIgnoredMethods(java.lang.String className)
public Service create(java.lang.Class clazz, javax.xml.namespace.QName service, java.net.URL wsdlUrl, java.util.Map properties)
ServiceFactory
create
in interface ServiceFactory
clazz
- The service class for the wsdl.wsdlUrl
- The WSDL URL.
public Service create(java.lang.Class clazz, java.util.Map properties)
ServiceFactory
create
in interface ServiceFactory
clazz
- The service class used to populate the operations and parameters.properties
- Properties to set on the service and use in construction.
public Service create(java.lang.Class clazz, java.lang.String name, java.lang.String namespace, java.util.Map properties)
ServiceFactory
create
in interface ServiceFactory
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |