javax.xml.rpc
Interface Stub


public interface Stub

The interface javax.xml.rpc.Stub is the common base interface for the stub classes. All generated stub classes are required to implement the javax.xml.rpc.Stub interface. The Stub interface also provides support for the dynamic proxies.

See Also:
Service

Method Summary
 java.lang.Object _getProperty(java.lang.String name)
          Gets the value of a named property.
 java.lang.String _getTargetEndpoint()
          Gets the endpoint address for a target service port.
 void _setProperty(java.lang.String name, java.lang.Object value)
          Sets the value for a named property.
 void _setTargetEndpoint(java.lang.String address)
          Sets the endpoint address for the target service port that is to be invoked using a stub instance.
 

Method Detail

_setProperty

public void _setProperty(java.lang.String name,
                         java.lang.Object value)
Sets the value for a named property. JAX-RPC 1.0 specification specifies a standard set of properties that may be passed to the Stub._setProperty method. These properties include:
Parameters:
name - Name of the property
value - Value of the property
Throws:
java.lang.IllegalArgumentException - If invalid or unsupported property is specified

_getProperty

public java.lang.Object _getProperty(java.lang.String name)
Gets the value of a named property.
Throws:
java.lang.IllegalArgumentException - If invalid or unsupported property name is specified

_setTargetEndpoint

public void _setTargetEndpoint(java.lang.String address)
Sets the endpoint address for the target service port that is to be invoked using a stub instance.
Parameters:
address - String parameter specifies the target endpoint address. The URI scheme for the address must correspond to the transport binding for this stub class.
Throws:
java.lang. - IllegalArgumentException if an invalid address is passed as a parameter.

_getTargetEndpoint

public java.lang.String _getTargetEndpoint()
Gets the endpoint address for a target service port.
Returns:
Endpoint address configured for this stub instance