|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.xfire.spring.ServiceBean
public class ServiceBean
A convenience bean which creates a Service from a ServiceFactory instance. If there is no ServiceFactory set, ServiceBean will create one from the ObjectServiceFactory.
Alternatively, the Jsr181BeanPostProcessor
or the
XFireExporter
may be used.
Service
,
Jsr181BeanPostProcessor
,
ObjectServiceFactory
,
XFireExporter
Field Summary | |
---|---|
protected boolean |
createDefaultBindings
Some properties to make it easier to work with ObjectServiceFactory |
protected Class |
implementationClass
|
protected String |
style
|
protected String |
use
|
protected org.codehaus.xfire.XFire |
xFire
|
Constructor Summary | |
---|---|
ServiceBean()
|
Method Summary | |
---|---|
void |
afterPropertiesSet()
|
List |
getBindings()
|
Object |
getExecutor()
|
List |
getFaultHandlers()
|
Class |
getImplementationClass()
|
List |
getInHandlers()
|
org.codehaus.xfire.service.invoker.Invoker |
getInvoker()
|
List |
getMethods()
|
List |
getOutHandlers()
|
Map |
getProperties()
|
protected Object |
getProxyForService()
|
List |
getSchemas()
|
String |
getScope()
|
Object |
getServiceBean()
Gets the object which backs this service. |
Class |
getServiceClass()
Set the service class. |
org.codehaus.xfire.service.ServiceFactory |
getServiceFactory()
|
String |
getStyle()
|
String |
getUse()
|
String |
getWsdlURL()
|
org.codehaus.xfire.XFire |
getXfire()
|
org.codehaus.xfire.service.Service |
getXFireService()
Gets the XFire Service created by this bean. |
protected void |
initializeBindings()
|
boolean |
isCreateDefaultBindings()
|
void |
setApplicationContext(org.springframework.context.ApplicationContext ctx)
|
void |
setBindings(List bindings)
|
void |
setCreateDefaultBindings(boolean createDefaultBindings)
|
void |
setExecutor(Object executor)
|
void |
setFaultHandlers(List faultHandlers)
|
void |
setImplementationClass(Class implementationClass)
|
void |
setInHandlers(List inHandlers)
|
void |
setInvoker(org.codehaus.xfire.service.invoker.Invoker invoker)
|
void |
setMethods(List operations)
|
void |
setName(String name)
Sets the service name. |
void |
setNamespace(String namespace)
Sets the service default namespace. |
void |
setOutHandlers(List outHandlers)
|
void |
setProperties(Map properties)
|
void |
setSchemas(List schemas)
|
void |
setScope(String scope)
|
void |
setServiceBean(Object service)
Sets the object which backs this service. |
void |
setServiceClass(Class serviceInterface)
|
void |
setServiceFactory(org.codehaus.xfire.service.ServiceFactory serviceFactory)
|
void |
setStyle(String style)
|
void |
setUse(String use)
|
void |
setWsdlURL(String wsdlURL)
|
void |
setXfire(org.codehaus.xfire.XFire xFire)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected org.codehaus.xfire.XFire xFire
protected Class implementationClass
protected boolean createDefaultBindings
protected String use
protected String style
Constructor Detail |
---|
public ServiceBean()
Method Detail |
---|
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
protected void initializeBindings() throws Exception
Exception
protected Object getProxyForService()
public org.codehaus.xfire.service.Service getXFireService()
Service
public Object getServiceBean()
public void setServiceBean(Object service)
public Class getServiceClass()
public void setServiceClass(Class serviceInterface)
public void setServiceFactory(org.codehaus.xfire.service.ServiceFactory serviceFactory)
public org.codehaus.xfire.service.ServiceFactory getServiceFactory()
public void setName(String name)
public void setNamespace(String namespace)
service interface
.
public List getFaultHandlers()
public void setFaultHandlers(List faultHandlers)
public List getInHandlers()
public void setInHandlers(List inHandlers)
public List getOutHandlers()
public void setOutHandlers(List outHandlers)
public void setXfire(org.codehaus.xfire.XFire xFire)
public org.codehaus.xfire.XFire getXfire()
public Class getImplementationClass()
public void setImplementationClass(Class implementationClass)
public Map getProperties()
public void setProperties(Map properties)
public String getScope()
public void setScope(String scope)
public String getStyle()
public void setStyle(String style)
public String getUse()
public void setUse(String use)
public List getSchemas()
public void setSchemas(List schemas)
public void setApplicationContext(org.springframework.context.ApplicationContext ctx) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
public List getBindings()
public void setBindings(List bindings)
public org.codehaus.xfire.service.invoker.Invoker getInvoker()
public void setInvoker(org.codehaus.xfire.service.invoker.Invoker invoker)
public boolean isCreateDefaultBindings()
public Object getExecutor()
public void setExecutor(Object executor)
public void setCreateDefaultBindings(boolean createDefaultBindings)
public String getWsdlURL()
public void setWsdlURL(String wsdlURL)
public List getMethods()
public void setMethods(List operations)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |