|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.avalon.framework.logger.AbstractLogEnabled
org.codehaus.xfire.loom.DefaultServiceFactory
public class DefaultServiceFactory
Default implementation of a ServiceFactory
Constructor Summary | |
---|---|
DefaultServiceFactory()
|
Method Summary | |
---|---|
Service |
create(java.lang.Class clazz)
Create a service from the specified class. |
Service |
create(java.lang.Class clazz,
SoapVersion version,
java.lang.String style,
java.lang.String use)
Create a service from the specified class. |
Service |
create(java.lang.Class clazz,
java.lang.String name,
java.lang.String namespace,
SoapVersion version,
java.lang.String style,
java.lang.String use,
java.lang.String encodingStyleURI)
Create a service from the specified class. |
Service |
create(java.lang.Class clazz,
TypeMapping tm,
java.net.URL wsdlUrl)
Create a service from a WSDL file. |
protected TransportManager |
getTransportManager()
|
protected TypeMappingRegistry |
getTypeMappingRegistry()
|
void |
initialize()
|
void |
service(org.apache.avalon.framework.service.ServiceManager manager)
|
protected void |
setFactory(ObjectServiceFactory factory)
|
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
---|
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
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(org.apache.avalon.framework.service.ServiceManager manager) throws org.apache.avalon.framework.service.ServiceException
service
in interface org.apache.avalon.framework.service.Serviceable
org.apache.avalon.framework.service.ServiceException
protected final TransportManager getTransportManager()
protected final TypeMappingRegistry getTypeMappingRegistry()
protected final void setFactory(ObjectServiceFactory factory)
public void initialize() throws java.lang.Exception
initialize
in interface org.apache.avalon.framework.activity.Initializable
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 Service create(java.lang.Class clazz, java.lang.String name, java.lang.String namespace, SoapVersion version, java.lang.String style, java.lang.String use, java.lang.String encodingStyleURI)
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.version
- The SoapVersion.style
- The service style.use
- The service use.encodingStyleURI
- The encoding style to use
SoapConstants
,
Soap11
,
Soap12
,
SoapVersion
public Service create(java.lang.Class clazz, TypeMapping tm, java.net.URL wsdlUrl) throws java.lang.Exception
ServiceFactory
create
in interface ServiceFactory
clazz
- The service class for the wsdl.wsdlUrl
- The WSDL URL.
java.lang.Exception
public Service create(java.lang.Class clazz, SoapVersion version, java.lang.String style, java.lang.String use)
ServiceFactory
create
in interface ServiceFactory
clazz
- The service class used to populate the operations and parameters.version
- The SoapVersion.style
- The service style.use
- The service use.
SoapConstants
,
Soap11
,
Soap12
,
SoapVersion
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |