mx4j.tools.connector

Class JMXAddress

Implemented Interfaces:
Cloneable, Serializable

public class JMXAddress
extends java.lang.Object
implements Serializable, Cloneable

A JMXAddress is an URL in form of
 jmx:://:/;
 
used to identify the address of an adaptor.

Version:
$Revision: 1.3 $

Constructor Summary

JMXAddress(String address)
JMXAddress(String proto, String host, int port, String path)

Method Summary

Object
clone()
boolean
equals(Object obj)
String
getHost()
Returns the host part
String
getPath()
Returns the path
int
getPort()
Returns the port
Map
getProperties()
Returns a clone of the properties of this ServiceURL
Object
getProperty(String key)
Returns the value of the specified property
String
getProtocol()
Protocol is in the form jrmp, iiop, https and so on.
int
hashCode()
protected boolean
isEqual(Object obj)
void
putProperty(String key, Object value)
Sets the specified property
String
toString()

Constructor Details

JMXAddress

public JMXAddress(String address)
            throws MalformedJMXAddressException


JMXAddress

public JMXAddress(String proto,
                  String host,
                  int port,
                  String path)
            throws MalformedJMXAddressException

Method Details

clone

public Object clone()


equals

public final boolean equals(Object obj)


getHost

public String getHost()
Returns the host part


getPath

public String getPath()
Returns the path


getPort

public int getPort()
Returns the port


getProperties

public Map getProperties()
Returns a clone of the properties of this ServiceURL


getProperty

public Object getProperty(String key)
Returns the value of the specified property


getProtocol

public String getProtocol()
Protocol is in the form jrmp, iiop, https and so on.


hashCode

public int hashCode()


isEqual

protected boolean isEqual(Object obj)


putProperty

public void putProperty(String key,
                        Object value)
Sets the specified property


toString

public String toString()


Copyright © 2001-2003 MX4J Team. All Rights Reserved.