|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.xfire.service.binding.ObjectServiceFactory
org.codehaus.xfire.picocontainer.PicoObjectServiceFactory
public class PicoObjectServiceFactory
PicoContainer specialization of Java objects-specific implementation of the
ServiceFactory
interface which uses a given picocontainer to pick
service objects instance when it's about to invoke them.
Constructor Summary | |
---|---|
PicoObjectServiceFactory(org.picocontainer.defaults.ObjectReference picoReference)
|
|
PicoObjectServiceFactory(org.picocontainer.defaults.ObjectReference picoReference,
TransportManager transportManager,
BindingProvider provider)
|
|
PicoObjectServiceFactory(org.picocontainer.PicoContainer pico)
|
|
PicoObjectServiceFactory(org.picocontainer.PicoContainer pico,
TransportManager transportManager,
BindingProvider provider)
|
Method Summary | |
---|---|
Service |
create(java.lang.Class clazz)
Creates a service from the specified class. |
Service |
create(java.lang.Class clazz,
java.lang.String name,
java.lang.String namespace,
java.util.Map properties)
Creates a service from the specified class, soap version, style and use. |
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.util.Map properties)
|
Service |
create(java.lang.Class clazz,
java.net.URL wsdlUrl)
Create a service from a WSDL file. |
protected Service |
prepare(Service endpoint)
Prepare an ObjectService to use pico. |
Methods inherited from class org.codehaus.xfire.service.binding.ObjectServiceFactory |
---|
addIgnoredMethods, addOperation, create, getAction, getBindingProvider, getInParameterName, getMEP, getOperationName, getOutParameterName, getSoapVersion, getStyle, getTransportManager, getUse, getWsdlBuilderFactory, initializeOperations, isAsync, isHeader, isValidMethod, isVoidOneWay, makeServiceNameFromClassName, registerHandlers, setBindingProvider, setSoapVersion, setStyle, setTransportManager, setUse, setVoidOneWay, setWsdlBuilderFactory |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PicoObjectServiceFactory(org.picocontainer.PicoContainer pico)
public PicoObjectServiceFactory(org.picocontainer.defaults.ObjectReference picoReference)
public PicoObjectServiceFactory(org.picocontainer.PicoContainer pico, TransportManager transportManager, BindingProvider provider)
public PicoObjectServiceFactory(org.picocontainer.defaults.ObjectReference picoReference, TransportManager transportManager, BindingProvider provider)
Method Detail |
---|
public Service create(java.lang.Class clazz, java.lang.String name, java.lang.String namespace, java.util.Map properties)
ObjectServiceFactory
null
, and will be replaced with sensible defaults if so. See the specific
parameters for more info.
create
in interface ServiceFactory
create
in class ObjectServiceFactory
clazz
- The service class used to populate the operations and parameters.name
- The name of the service. If null
, a name will be generated from the class
name.namespace
- The default namespace of the service. If null
, a namespace will be generated
from the class package.properties
- Service specific properties which the ServiceFactory will use
to create the service.
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.util.Map properties)
create
in class ObjectServiceFactory
public Service create(java.lang.Class clazz, java.net.URL wsdlUrl) throws java.lang.Exception
ServiceFactory
create
in interface ServiceFactory
create
in class ObjectServiceFactory
clazz
- The service class for the wsdl.wsdlUrl
- The WSDL URL.
java.lang.Exception
public Service create(java.lang.Class clazz)
ObjectServiceFactory
create
in interface ServiceFactory
create
in class ObjectServiceFactory
clazz
- The service class used to populate the operations and
parameters. If the class is an interface, then the
implementation class that implements that interface must be
set via Service.setProperty(String, Object)
with the
property key being
ObjectInvoker.SERVICE_IMPL_CLASS
protected Service prepare(Service endpoint)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |