|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) E28847-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
org.eclipse.persistence.sessions.coordination.ServiceId
public class ServiceId
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.
ServiceAnnouncement, Serialized Form| Field Summary | |
|---|---|
private java.lang.String |
channelThe logical channel that the service instance subscribes to |
private java.lang.String |
displayString |
static java.lang.String |
HOST_TOKENThis $HOST token indicate that the host ip of the URL should be replaced at runtime by user input |
private java.lang.String |
idGenerated unique id to distinguish the service instance from all others |
static java.lang.String |
PORT_TOKENThis $HOST token indicate that the host ip of the URL should be replaced at runtime by user input |
private java.lang.String |
urlUrl of the service instance |
| Constructor Summary | |
|---|---|
ServiceId() |
|
ServiceId(java.lang.String channel, java.lang.String id, java.lang.String url) |
|
| Method Summary | |
|---|---|
java.lang.String |
getChannel()INTERNAL: Return the logical channel that this service subscribes to |
java.lang.String |
getId()INTERNAL: Get the unique identifier for the service |
java.lang.String |
getURL()INTERNAL: Return the URL for the service |
void |
setChannel(java.lang.String newChannel)INTERNAL: Set the logical channel that this service subscribes to |
void |
setId(java.lang.String newId)INTERNAL: Set the unique identifier for the service |
void |
setURL(java.lang.String newUrl)INTERNAL: Set the URL for the service |
java.lang.String |
toString() |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private java.lang.String id
private java.lang.String channel
private java.lang.String url
private java.lang.String displayString
public static final java.lang.String HOST_TOKEN
public static final java.lang.String PORT_TOKEN
| Constructor Detail |
|---|
public ServiceId()
public ServiceId(java.lang.String channel,
java.lang.String id,
java.lang.String url)
| Method Detail |
|---|
public java.lang.String getURL()
public void setURL(java.lang.String newUrl)
public java.lang.String getId()
public void setId(java.lang.String newId)
public java.lang.String getChannel()
public void setChannel(java.lang.String newChannel)
public java.lang.String toString()
toString in class java.lang.Object
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||