|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.enterprise.connectors.jms.system.MQUrl
public class MQUrl
Represents one of the MQ address list elements.
| Constructor Summary | |
|---|---|
MQUrl(java.lang.String id)
Constructs the MQUrl with the id. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
Two MQUrls are identified by their id (name). |
int |
hashCode()
Hashcode of MQurl is the same as the Hashcode of its name. |
void |
setHost(java.lang.String host)
Sets the host name of the Url. |
void |
setPort(java.lang.String port)
Sets the port number of the Url. |
void |
setScheme(java.lang.String scheme)
Sets the Scheme of MQ connection for this Url. |
void |
setService(java.lang.String service)
Sets the type of service offered by MQ broker. |
java.lang.String |
toString()
String representation of the Url. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MQUrl(java.lang.String id)
id - Logical name of the MQUrl| Method Detail |
|---|
public void setHost(java.lang.String host)
host - Host Name of the Url.public void setPort(java.lang.String port)
port - Port number of the Url.public void setScheme(java.lang.String scheme)
scheme - scheme of the connection.public void setService(java.lang.String service)
service - Name of service.public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - another MQUrl object.
public int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||