|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.axis2.client.Stub
public abstract class Stub
Base class for generated client stubs. This defines several client API
(public
) methods shared between all types of stubs, along with
some protected
methods intended for use by the actual stub
implementation code. The client API method names start with a leading
underscore character to avoid conflicts with actual implementation methods.
Field Summary | |
---|---|
protected AxisService |
_service
|
protected ServiceClient |
_serviceClient
|
protected java.util.ArrayList |
modules
|
Constructor Summary | |
---|---|
Stub()
|
Method Summary | |
---|---|
ServiceClient |
_getServiceClient()
Get service client implementation used by this stub. |
void |
_setServiceClient(ServiceClient _serviceClient)
Set service client implementation used by this stub. |
protected void |
addAnonymousOperations()
|
protected void |
addHeader(org.apache.axiom.om.OMElement omElementToadd,
org.apache.axiom.soap.SOAPEnvelope envelop)
|
protected void |
addHeader(org.apache.axiom.om.OMElement omElementToadd,
org.apache.axiom.soap.SOAPEnvelope envelop,
boolean mustUnderstand)
|
protected void |
addHttpHeader(MessageContext messageContext,
java.lang.String name,
java.lang.String value)
add an http header with name and value to message context |
protected void |
addPropertyToOperationClient(OperationClient operationClient,
java.lang.String propertyKey,
boolean value)
|
protected void |
addPropertyToOperationClient(OperationClient operationClient,
java.lang.String propertyKey,
int value)
|
protected void |
addPropertyToOperationClient(OperationClient operationClient,
java.lang.String propertyKey,
java.lang.Object propertyValue)
sets the propertykey and propertyValue as a pair to operation client |
void |
cleanup()
Cleanup associated resources. |
protected static org.apache.axiom.soap.SOAPEnvelope |
createEnvelope(Options options)
Create a SOAP message envelope using the supplied options. |
protected void |
finalize()
Finalize method called by garbage collection. |
protected static org.apache.axiom.soap.SOAPFactory |
getFactory(java.lang.String soapVersionURI)
Get Axiom factory appropriate to selected SOAP version. |
protected void |
setMustUnderstand(org.apache.axiom.om.OMElement headerElement,
org.apache.axiom.om.OMNamespace omNamespace)
|
protected void |
setServiceClientEPR(java.lang.String address)
sets the epr of the service client to given value |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected AxisService _service
protected java.util.ArrayList modules
protected ServiceClient _serviceClient
Constructor Detail |
---|
public Stub()
Method Detail |
---|
public ServiceClient _getServiceClient()
public void _setServiceClient(ServiceClient _serviceClient)
_serviceClient
- protected static org.apache.axiom.soap.SOAPEnvelope createEnvelope(Options options) throws org.apache.axiom.soap.SOAPProcessingException
options
-
org.apache.axiom.soap.SOAPProcessingException
protected static org.apache.axiom.soap.SOAPFactory getFactory(java.lang.String soapVersionURI)
soapVersionURI
-
protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
public void cleanup() throws AxisFault
AxisFault
protected void setServiceClientEPR(java.lang.String address)
address
- protected void addHttpHeader(MessageContext messageContext, java.lang.String name, java.lang.String value)
messageContext
- name
- value
- protected void addPropertyToOperationClient(OperationClient operationClient, java.lang.String propertyKey, java.lang.Object propertyValue)
operationClient
- propertyKey
- propertyValue
- protected void addPropertyToOperationClient(OperationClient operationClient, java.lang.String propertyKey, boolean value)
protected void addPropertyToOperationClient(OperationClient operationClient, java.lang.String propertyKey, int value)
protected void setMustUnderstand(org.apache.axiom.om.OMElement headerElement, org.apache.axiom.om.OMNamespace omNamespace)
protected void addHeader(org.apache.axiom.om.OMElement omElementToadd, org.apache.axiom.soap.SOAPEnvelope envelop, boolean mustUnderstand)
protected void addHeader(org.apache.axiom.om.OMElement omElementToadd, org.apache.axiom.soap.SOAPEnvelope envelop)
protected void addAnonymousOperations()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |