|
Sonic Management API | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sonicsw.mf.jmx.client.JMSConnectorAddress
public final class JMSConnectorAddress
Defines the JMS connector address. This object is used by the connector client to check that the address used as the argument of its connect method is of the appropriate type.
No defaults are made.
JMSConnectorClient
Constructor Summary | |
---|---|
JMSConnectorAddress(java.util.Hashtable env)
Construct a JMS connector address using the given environment. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object object)
Compares the connector address with another connector address. |
java.util.Hashtable |
getEnv()
|
java.lang.String |
getManagementNode()
|
java.lang.String |
getServerIdentity()
Where the address implies a dedicated communication channel to a particular connector server the server identity will not be null. |
int |
hashCode()
|
void |
setManagementNode(java.lang.String node)
|
void |
setServerIdentity(java.lang.String identity)
If the connector client is to be dedicated to a particular Sonic container, the identity of that container must be provided prior to connecting. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JMSConnectorAddress(java.util.Hashtable env)
The environment (specified as a hashtable of key/value pairs) should contain sufficient information from which a SonicMQ implementation of a JMS TopicConnectionFactory may be created. Each key should map to a java bean style attribute name of such a factory. The typical set of key [attribute] names will be:
ConnectionURLs DefaultUser DefaultPassword
Method Detail |
---|
public boolean equals(java.lang.Object object)
Two connector addresses will be equal if they have an environment with matching key/values pairs.
equals
in class java.lang.Object
object
- A connector adddress to test for equality.
public java.util.Hashtable getEnv()
JMSConnectorAddress(Hashtable)
public java.lang.String getManagementNode()
public java.lang.String getServerIdentity()
setServerIdentity(String)
public int hashCode()
hashCode
in class java.lang.Object
public void setManagementNode(java.lang.String node)
public void setServerIdentity(java.lang.String identity)
If the server identity is not set, remote MBeanServer methods from which the server identity cannot be derived, will fail.
identity
- A tokenized string of the form "<mf domain>.<mf container name>", where:
<mf domain> - is the management framework domain name for the deployment to which we are trying to connect <mf container name> - is the management framework container name for the particular container (and hence MBeanServer instance) to which we are trying to connect.
A value of null is a valid value, unsetting a previously set identity.
JMSConnectorClient.connect(JMSConnectorAddress)
|
Sonic Management API | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |