站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 varia API Documentation 英文版文档

AddressPort (Various API) - JBoss 4.0.1 sp1 varia API Documentation 英文版文档


org.jboss.jmx.adaptor.control
Class AddressPort

java.lang.Object
  extended byorg.jboss.jmx.adaptor.control.AddressPort

public class AddressPort
extends Object

A utility class for parsing cluster member addresses

Version:
$Revision: 1.3 $
Author:
Scott.Stark@jboss.org

Method Summary
 String getHostAddress()
           
 String getHostName()
           
 InetAddress getInetAddress()
           
static AddressPort getMemberAddress(Object addr)
          Use reflection to access the address InetAddress and port if they exist in the Address implementation
 Integer getPort()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

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()


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.