|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServiceEndpointDescription
This interface describes an endpoint of a service. This class can be considered as a wrapper around the property map of a published service and its endpoint. It provides an API to conveniently access the most important properties of the service.
ServiceEndpointDescription
objects are immutable.
Method Summary | |
---|---|
java.lang.String |
getEndpointID()
Deprecated. Returns the value of the property with key ServicePublication.ENDPOINT_ID . |
java.lang.String |
getEndpointInterfaceName(java.lang.String interfaceName)
Deprecated. Returns non-Java endpoint interface name associated with the given interface. |
java.net.URI |
getLocation()
Deprecated. Returns the value of the property with key ServicePublication.ENDPOINT_LOCATION . |
java.util.Map |
getProperties()
Deprecated. Returns all service endpoint properties. |
java.lang.Object |
getProperty(java.lang.String key)
Deprecated. Getter method for the property value of a given key. |
java.util.Collection |
getPropertyKeys()
Deprecated. Returns all names of service endpoint properties. |
java.util.Collection |
getProvidedInterfaces()
Deprecated. Returns the value of the property with key ServicePublication.SERVICE_INTERFACE_NAME . |
java.lang.String |
getVersion(java.lang.String interfaceName)
Deprecated. Returns version of the given interface. |
Method Detail |
---|
java.util.Collection getProvidedInterfaces()
ServicePublication.SERVICE_INTERFACE_NAME
.
Collection (<String>)
of service interface
names provided by the advertised service endpoint. The collection
is never null
or empty but contains at least one
service interface.java.lang.String getEndpointInterfaceName(java.lang.String interfaceName)
Value of the property with key
ServicePublication.ENDPOINT_INTERFACE_NAME
is used by this
operation.
interfaceName
- for which its non-Java endpoint interface name should be
returned.
null
if it
hasn't been provided or if given interface name is
null
.java.lang.String getVersion(java.lang.String interfaceName)
Value of the property with key
ServicePublication.SERVICE_INTERFACE_VERSION
is used by this
operation.
interfaceName
- for which its version should be returned.
null
if it
hasn't been provided or if given interface name is
null
.java.net.URI getLocation()
ServicePublication.ENDPOINT_LOCATION
.
null
if it
hasn't been provided.java.lang.String getEndpointID()
ServicePublication.ENDPOINT_ID
.
null
if it hasn't
been provided.java.lang.Object getProperty(java.lang.String key)
key
- Name of the property
null
if none is found for the
given key or if provided key is null
.java.util.Collection getPropertyKeys()
Collection (<String>)
of property names
available in the ServiceEndpointDescription. The collection is
never null
or empty but contains at least names of
mandatory ServicePublication
properties. Since
ServiceEndpointDescription
objects are immutable,
the returned collection is also not going to be updated at a
later point of time.java.util.Map getProperties()
Map (<String, Object>)
. The map is never
null
or empty but contains at least mandatory
ServicePublication
properties. Since
ServiceEndpointDescription
objects are immutable,
the returned map is also not going to be updated at a later point
of time.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |