public class Endpoint
extends java.lang.Object
Constructor and Description |
---|
Endpoint()
Default constructor.
|
Endpoint(javax.xml.namespace.QName serviceName,
java.lang.String endpointName)
Constructs with the just service name and endpoint name.
|
Endpoint(javax.xml.namespace.QName serviceName,
java.lang.String endpointName,
Definition wsdl)
Constructs with minimum endpoint information and a WSDL definition.
|
Endpoint(javax.xml.namespace.QName serviceName,
java.lang.String endpointName,
java.net.URI address,
Definition wsdl)
Constructs with all endpoint information except binding and interface
descriptions.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Equality method.
|
java.net.URI |
getAddress()
Returns the URI form of the endpoint's address.
|
javax.xml.namespace.QName |
getBindingName()
Returns the QName of the binding the endpoint is implementing.
|
java.util.Map<java.lang.String,java.lang.String> |
getConnectionProperties()
Returns the connection properties for the endpoint.
|
Definition |
getDefinition()
Returns the WSDL definition describing the endpoint completely including
binding and interface.
|
java.lang.String |
getEndpointName()
Returns the name of the endpoint (Port).
|
javax.xml.namespace.QName |
getInterfaceName()
Returns the QName of the interface (Port Type) the endpoint is
implementing.
|
javax.xml.namespace.QName |
getServiceName()
Returns the QName of the service the endpoint implements.
|
int |
hashCode()
Returns a hash code for the object.
|
void |
setAddress(java.net.URI address)
Changes the endpoint's address in URI form.
|
void |
setBindingName(javax.xml.namespace.QName bindingName)
Changes the QName of the binding the endpoint is implementing.
|
void |
setDefinition(Definition wsdl)
Changes the WSDL definition describing the endpoint completely including
binding and interface.
|
void |
setEndpointName(java.lang.String endpointName)
Changes the name of the endpoint (Port).
|
void |
setInterfaceName(javax.xml.namespace.QName interfaceName)
Changes the QName of the interface (Port Type) the endpoint is
implementing.
|
void |
setServiceName(javax.xml.namespace.QName serviceName)
Changes the QName of the service the endpoint implements.
|
java.lang.String |
toString() |
public Endpoint()
public Endpoint(javax.xml.namespace.QName serviceName, java.lang.String endpointName)
serviceName
- QName of the service the endpoint implements.endpointName
- Name of the endpoint.public Endpoint(javax.xml.namespace.QName serviceName, java.lang.String endpointName, Definition wsdl)
serviceName
- QName of the service the endpoint implements.endpointName
- Name of the endpoint.wsdl
- WSDL Definition holding the WSDL artifacts for the endpoint
including binding and interface descriptions.public Endpoint(javax.xml.namespace.QName serviceName, java.lang.String endpointName, java.net.URI address, Definition wsdl)
serviceName
- QName of the service the endpoint implements.endpointName
- Name of the endpoint.address
- URI address of the endpoint.wsdl
- WSDL Definition holding the WSDL artifacts for the endpoint
including binding and interface descriptions.public javax.xml.namespace.QName getServiceName()
public void setServiceName(javax.xml.namespace.QName serviceName)
serviceName
- QName of the service.public javax.xml.namespace.QName getInterfaceName()
public void setInterfaceName(javax.xml.namespace.QName interfaceName)
interfaceName
- Interface (Port Type) QName.public javax.xml.namespace.QName getBindingName()
public void setBindingName(javax.xml.namespace.QName bindingName)
bindingName
- Binding QName.public java.lang.String getEndpointName()
public void setEndpointName(java.lang.String endpointName)
endpointName
- Endpoint name.public java.net.URI getAddress()
public void setAddress(java.net.URI address)
address
- Endpoint's address in URI form.public Definition getDefinition()
public void setDefinition(Definition wsdl)
wsdl
- WSDL Definition describing the endpoint.public java.util.Map<java.lang.String,java.lang.String> getConnectionProperties()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- Object to compare with. Must be an Endpoint.public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
?? 2022 Perforce Software, All rights reserved
This software is the confidential and proprietary information of Perforce, Inc. and is subject to copyright protection under laws of the United States of America and other countries. The use of this software should be in accordance with the license agreement terms you entered into with Perforce, Inc.