org.jboss.jmx.adaptor.control
Class AddressPort
java.lang.Object
org.jboss.jmx.adaptor.control.AddressPort
public class AddressPort
- extends Object
A utility class for parsing cluster member addresses
- Version:
- $Revision: 57210 $
- Author:
- Scott.Stark@jboss.org
getMemberAddress
public static AddressPort getMemberAddress(Object addr)
throws IOException
- Use reflection to access the address InetAddress and port if they exist
in the Address implementation
- Throws:
IOException
getPort
public Integer getPort()
getInetAddress
public InetAddress getInetAddress()
getHostAddress
public String getHostAddress()
getHostName
public String getHostName()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.