javax.management.remote
Class JMXServiceURL

java.lang.Object
  extended by javax.management.remote.JMXServiceURL
All Implemented Interfaces:
Serializable

public class JMXServiceURL
extends Object
implements Serializable

Author:
Tom Elrod
See Also:
Serialized Form

Field Summary
protected  Logger log
           
static String REQUIRED_URL_PREFIX
          Per spec, every jmx service url must start with this prefix string.
 
Constructor Summary
JMXServiceURL(String serviceURL)
           
JMXServiceURL(String protocol, String host, int port)
           
JMXServiceURL(String protocol, String host, int port, String urlPath)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getHost()
           
 int getPort()
           
 String getProtocol()
           
 String getURLPath()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

REQUIRED_URL_PREFIX

public static final String REQUIRED_URL_PREFIX
Per spec, every jmx service url must start with this prefix string.

See Also:
Constant Field Values

log

protected transient Logger log
Constructor Detail

JMXServiceURL

public JMXServiceURL(String serviceURL)
              throws MalformedURLException
Throws:
MalformedURLException

JMXServiceURL

public JMXServiceURL(String protocol,
                     String host,
                     int port)
              throws MalformedURLException
Throws:
MalformedURLException

JMXServiceURL

public JMXServiceURL(String protocol,
                     String host,
                     int port,
                     String urlPath)
              throws MalformedURLException
Throws:
MalformedURLException
Method Detail

getProtocol

public String getProtocol()

getHost

public String getHost()

getPort

public int getPort()

getURLPath

public String getURLPath()

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.