Purpose: Encapsulate the information that uniquely identifies a specific remote command service instance.
Description: A service instance consists primarily of a CommandManager and its associated components including its CommandProcessor, CommandConverter, DiscoveryManager and TransportManager. Whenever a service instance sends out an announcement or remote command to the cluster the service id is included in the message.
org.eclipse.persistence.internal.sessions.coordination.ServiceAnnouncement
| Modifier and Type | Field and Description |
|---|---|
| private String | channel
The logical channel that the service instance subscribes to |
| private transient String | |
| public static final String | HOST_TOKEN
This $HOST token indicate that the host ip of the URL should be replaced at runtime by user input |
| private String | id
Generated unique id to distinguish the service instance from all others |
| public static final String | PORT_TOKEN
This $HOST token indicate that the host ip of the URL should be replaced at runtime by user input |
| private String | url
Url of the service instance |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public String | |
| public String | |
| public void | |
| public void | |
| public void | |
| public String |
| channel | back to summary |
|---|---|
| private String channel The logical channel that the service instance subscribes to | |
| displayString | back to summary |
|---|---|
| private transient String displayString | |
| HOST_TOKEN | back to summary |
|---|---|
| public static final String HOST_TOKEN This $HOST token indicate that the host ip of the URL should be replaced at runtime by user input | |
| id | back to summary |
|---|---|
| private String id Generated unique id to distinguish the service instance from all others | |
| PORT_TOKEN | back to summary |
|---|---|
| public static final String PORT_TOKEN This $HOST token indicate that the host ip of the URL should be replaced at runtime by user input | |
| url | back to summary |
|---|---|
| private String url Url of the service instance | |
| ServiceId | back to summary |
|---|---|
| public ServiceId() | |
| ServiceId | back to summary |
|---|---|
| public ServiceId(String channel, String id, String url) | |
| getChannel | back to summary |
|---|---|
| public String getChannel() INTERNAL: Return the logical channel that this service subscribes to | |
| getId | back to summary |
|---|---|
| public String getId() INTERNAL: Get the unique identifier for the service | |
| getURL | back to summary |
|---|---|
| public String getURL() INTERNAL: Return the URL for the service | |
| setChannel | back to summary |
|---|---|
| public void setChannel(String newChannel) INTERNAL: Set the logical channel that this service subscribes to | |
| setId | back to summary |
|---|---|
| public void setId(String newId) INTERNAL: Set the unique identifier for the service | |
| setURL | back to summary |
|---|---|
| public void setURL(String newUrl) INTERNAL: Set the URL for the service | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |