|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A factory interface for creating SOAPCall
objects. As well as
the createSOAPCall()
factory method, a number of other methods
are defined for configuring the default properties and timeout for the
SOAPCall
objects that are created.
The interface also defines the public clone
method which may
be used to create a clone of a SOAPCallFactory
with the same
default settings at the time of cloning.
Method Summary | |
java.lang.Object |
clone()
Creates a new SOAPCallFactory that inherits the default
settings from this factory. |
SOAPCall |
createSOAPCall()
Creates a new SOAPCall object with default properties and
timeout. |
void |
setDefaultProperty(java.lang.String name,
java.lang.Object value)
Sets a default property that will be applied to SOAPCall
objects that are created subsequently. |
void |
setDefaultTimeout(int duration)
Sets the default timeout value for SOAPCall objects that
are created subsequently. |
Method Detail |
public SOAPCall createSOAPCall()
SOAPCall
object with default properties and
timeout.
SOAPCall
ready for invocationpublic void setDefaultProperty(java.lang.String name, java.lang.Object value)
SOAPCall
objects that are created subsequently.
name
- property namevalue
- property valuepublic void setDefaultTimeout(int duration)
SOAPCall
objects that
are created subsequently.
duration
- timeout duration in milliseconds. A value of less than zero
can be specified to prevent the factory from setting the
timeout.public java.lang.Object clone()
SOAPCallFactory
that inherits the default
settings from this factory.
SOAPCallFactory
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |