|
||||||||||
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 | |
---|---|
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,
java.lang.String name,
java.lang.String namespace,
java.util.Map properties)
Create a service from the specified class. |
Service |
create(java.lang.Class clazz,
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 void addIgnoredMethods(java.lang.String className)
public Service create(java.lang.Class clazz, 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, 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 |