|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.xml.transform.TransformerObjectSupport
org.springframework.ws.client.support.WebServiceAccessor
public abstract class WebServiceAccessor
Base class for WebServiceTemplate
and other WS-accessing helpers. Defines common properties like the
WebServiceMessageFactory
and WebServiceMessageSender
.
WebServiceTemplate
.
WebServiceTemplate
Field Summary |
---|
Fields inherited from class org.springframework.xml.transform.TransformerObjectSupport |
---|
logger |
Constructor Summary | |
---|---|
WebServiceAccessor()
|
Method Summary | |
---|---|
void |
afterPropertiesSet()
|
protected WebServiceConnection |
createConnection(String uri)
Creates a connection to the given URI, or throws an exception when it cannot be resolved. |
WebServiceMessageFactory |
getMessageFactory()
Returns the message factory used for creating messages. |
WebServiceMessageSender[] |
getMessageSenders()
Returns the message senders used for sending messages. |
void |
setMessageFactory(WebServiceMessageFactory messageFactory)
Sets the message factory used for creating messages. |
void |
setMessageSender(WebServiceMessageSender messageSender)
Sets the single message sender used for sending messages. |
void |
setMessageSenders(WebServiceMessageSender[] messageSenders)
Sets the message senders used for sending messages. |
Methods inherited from class org.springframework.xml.transform.TransformerObjectSupport |
---|
createTransformer, getTransformerFactory, transform |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WebServiceAccessor()
Method Detail |
---|
public WebServiceMessageFactory getMessageFactory()
public void setMessageFactory(WebServiceMessageFactory messageFactory)
public WebServiceMessageSender[] getMessageSenders()
public void setMessageSender(WebServiceMessageSender messageSender)
WebServiceConnection
.
createConnection(String)
public void setMessageSenders(WebServiceMessageSender[] messageSenders)
WebServiceConnection
.
createConnection(String)
public void afterPropertiesSet()
afterPropertiesSet
in interface InitializingBean
protected WebServiceConnection createConnection(String uri) throws IOException
WebServiceMessageSender
objects, and calls WebServiceMessageSender.supports(String)
for each of them. If the sender supports the parameter URI, it creates
a connection using WebServiceMessageSender.createConnection(String)
.
uri
- the URI to open a connection to
IllegalArgumentException
- when the uri cannot be resolved
IOException
- when an I/O error occurs
|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |