|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectAbstractUrlHandlerMapping
org.codehaus.xfire.spring.remoting.Jsr181HandlerMapping
public class Jsr181HandlerMapping
Implementation of the org.springframework.web.servlet.HandlerMapping
interface that recognizes web service annotations
on Spring-managed beans and
automatically wires them into the current servlet's WebApplicationContext.
service name
, with a defined prefix
. For instance, a bean annotated with the service
name EchoService
will be exposed as /services/EchoService
.
WebAnnotations
,
WebServiceAnnotation
Constructor Summary | |
---|---|
Jsr181HandlerMapping()
|
Method Summary | |
---|---|
protected void |
customizeService(java.lang.Object bean,
Service endpoint)
|
java.util.List |
getFaultHandlers()
|
java.util.List |
getInHandlers()
|
java.util.List |
getOutHandlers()
|
AnnotationServiceFactory |
getServiceFactory()
|
XFire |
getXFire()
|
protected void |
initApplicationContext()
|
void |
setFaultHandlers(java.util.List faultHandlers)
|
void |
setInHandlers(java.util.List inHandlers)
|
void |
setOutHandlers(java.util.List outHandlers)
|
void |
setServiceFactory(AnnotationServiceFactory serviceFactory)
|
void |
setServletControllerAdapterName(java.lang.String servletControllerAdapterName)
|
void |
setTypeMappingRegistry(TypeMappingRegistry typeMappingRegistry)
Sets the type mapping registry. |
void |
setUrlPrefix(java.lang.String urlPrefix)
Sets the url prefix used when exposing services. |
void |
setValidator(AnnotationsValidator validator)
|
void |
setWebAnnotations(WebAnnotations webAnnotations)
Sets the web annotations implementation to use. |
void |
setXfire(XFire xFire)
Sets the XFire instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Jsr181HandlerMapping()
Method Detail |
---|
protected void initApplicationContext() throws BeansException
BeansException
public AnnotationServiceFactory getServiceFactory()
public void setServiceFactory(AnnotationServiceFactory serviceFactory)
protected void customizeService(java.lang.Object bean, Service endpoint)
public XFire getXFire()
public void setWebAnnotations(WebAnnotations webAnnotations)
public void setXfire(XFire xFire)
public void setTypeMappingRegistry(TypeMappingRegistry typeMappingRegistry)
public void setUrlPrefix(java.lang.String urlPrefix)
/services/
.
public void setServletControllerAdapterName(java.lang.String servletControllerAdapterName)
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 java.util.List getFaultHandlers()
public void setFaultHandlers(java.util.List faultHandlers)
public void setValidator(AnnotationsValidator validator)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |