|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.xfire.spring.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 java.lang.Class |
implementationClass
|
protected java.lang.String |
style
|
protected java.lang.String |
use
|
protected org.codehaus.xfire.XFire |
xFire
|
Constructor Summary | |
ServiceBean()
|
Method Summary | |
void |
afterPropertiesSet()
|
java.util.List |
getBindings()
|
java.util.List |
getFaultHandlers()
|
java.lang.Class |
getImplementationClass()
|
java.util.List |
getInHandlers()
|
java.util.List |
getOutHandlers()
|
java.util.Map |
getProperties()
|
protected java.lang.Object |
getProxyForService()
|
java.util.List |
getSchemas()
|
java.lang.String |
getScope()
|
java.lang.Object |
getServiceBean()
Gets the object which backs this service. |
java.lang.Class |
getServiceClass()
Set the service class. |
org.codehaus.xfire.service.ServiceFactory |
getServiceFactory()
|
java.lang.String |
getStyle()
|
java.lang.String |
getUse()
|
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(java.util.List bindings)
|
void |
setCreateDefaultBindings(boolean createDefaultBindings)
|
void |
setFaultHandlers(java.util.List faultHandlers)
|
void |
setImplementationClass(java.lang.Class implementationClass)
|
void |
setInHandlers(java.util.List inHandlers)
|
void |
setName(java.lang.String name)
Sets the service name. |
void |
setNamespace(java.lang.String namespace)
Sets the service default namespace. |
void |
setOutHandlers(java.util.List outHandlers)
|
void |
setProperties(java.util.Map properties)
|
void |
setSchemas(java.util.List schemas)
|
void |
setScope(java.lang.String scope)
|
void |
setServiceBean(java.lang.Object service)
Sets the object which backs this service. |
void |
setServiceClass(java.lang.Class serviceInterface)
|
void |
setServiceFactory(org.codehaus.xfire.service.ServiceFactory serviceFactory)
|
void |
setStyle(java.lang.String style)
|
void |
setUse(java.lang.String use)
|
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 java.lang.Class implementationClass
protected boolean createDefaultBindings
protected java.lang.String use
protected java.lang.String style
Constructor Detail |
public ServiceBean()
Method Detail |
public void afterPropertiesSet() throws java.lang.Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
java.lang.Exception
protected void initializeBindings() throws java.lang.Exception
java.lang.Exception
protected java.lang.Object getProxyForService()
public org.codehaus.xfire.service.Service getXFireService()
Service
public java.lang.Object getServiceBean()
public void setServiceBean(java.lang.Object service)
public java.lang.Class getServiceClass()
public void setServiceClass(java.lang.Class serviceInterface)
public void setServiceFactory(org.codehaus.xfire.service.ServiceFactory serviceFactory)
public org.codehaus.xfire.service.ServiceFactory getServiceFactory()
public void setName(java.lang.String name)
public void setNamespace(java.lang.String namespace)
service interface
.
public java.util.List getFaultHandlers()
public void setFaultHandlers(java.util.List faultHandlers)
public java.util.List getInHandlers()
public void setInHandlers(java.util.List inHandlers)
public java.util.List getOutHandlers()
public void setOutHandlers(java.util.List outHandlers)
public void setXfire(org.codehaus.xfire.XFire xFire)
public org.codehaus.xfire.XFire getXfire()
public java.lang.Class getImplementationClass()
public void setImplementationClass(java.lang.Class implementationClass)
public java.util.Map getProperties()
public void setProperties(java.util.Map properties)
public java.lang.String getScope()
public void setScope(java.lang.String scope)
public java.lang.String getStyle()
public void setStyle(java.lang.String style)
public java.lang.String getUse()
public void setUse(java.lang.String use)
public java.util.List getSchemas()
public void setSchemas(java.util.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 java.util.List getBindings()
public void setBindings(java.util.List bindings)
public boolean isCreateDefaultBindings()
public void setCreateDefaultBindings(boolean createDefaultBindings)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |