org.jvnet.jax_ws_commons.spring
Class SpringAddressingFeature

java.lang.Object
  extended by org.jvnet.jax_ws_commons.spring.SpringAddressingFeature
All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean

public class SpringAddressingFeature
extends java.lang.Object
implements org.springframework.beans.factory.FactoryBean

Configures WS-Addressing feature.

Author:
Kohsuke Kawaguchi

Constructor Summary
SpringAddressingFeature()
           
 
Method Summary
 javax.xml.ws.soap.AddressingFeature getObject()
           
 java.lang.Class getObjectType()
           
 boolean isSingleton()
           
 void setEnabled(boolean enabled)
          enabled="false" can be specified to override the Addressing annotation on the source code.
 void setRequired(boolean required)
          If true, the service will reject all requests that do not have addressing headers.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringAddressingFeature

public SpringAddressingFeature()
Method Detail

isSingleton

public boolean isSingleton()
Specified by:
isSingleton in interface org.springframework.beans.factory.FactoryBean

setEnabled

public void setEnabled(boolean enabled)
enabled="false" can be specified to override the Addressing annotation on the source code. Defaults to true.


setRequired

public void setRequired(boolean required)
If true, the service will reject all requests that do not have addressing headers. False to accept them. Defaults to false.


getObject

public javax.xml.ws.soap.AddressingFeature getObject()
                                              throws java.lang.Exception
Specified by:
getObject in interface org.springframework.beans.factory.FactoryBean
Throws:
java.lang.Exception

getObjectType

public java.lang.Class getObjectType()
Specified by:
getObjectType in interface org.springframework.beans.factory.FactoryBean


Copyright © 2008. All Rights Reserved.