|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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 FormField Summary | |
---|---|
static String |
HOST_TOKEN
This $HOST token indicate that the host ip of the URL should be replaced at runtime by user input |
static String |
PORT_TOKEN
This $HOST token indicate that the host ip of the URL should be replaced at runtime by user input |
Constructor Summary | |
---|---|
ServiceId()
|
|
ServiceId(String channel,
String id,
String url)
|
Method Summary | |
---|---|
String |
getChannel()
INTERNAL: Return the logical channel that this service subscribes to |
String |
getId()
INTERNAL: Get the unique identifier for the service |
String |
getURL()
INTERNAL: Return the URL for the service |
void |
setChannel(String newChannel)
INTERNAL: Set the logical channel that this service subscribes to |
void |
setId(String newId)
INTERNAL: Set the unique identifier for the service |
void |
setURL(String newUrl)
INTERNAL: Set the URL for the service |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String HOST_TOKEN
public static final String PORT_TOKEN
Constructor Detail |
---|
public ServiceId()
public ServiceId(String channel, String id, String url)
Method Detail |
---|
public String getURL()
public void setURL(String newUrl)
public String getId()
public void setId(String newId)
public String getChannel()
public void setChannel(String newChannel)
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |