站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.6 API 英文版文档

NodeId - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.test.framework.server
Class NodeId

java.lang.Object
  extended byorg.jboss.portal.test.framework.server.NodeId
All Implemented Interfaces:
java.io.Serializable

public class NodeId
extends java.lang.Object
implements java.io.Serializable

Version:
$Revision: 5498 $
Author:
Julien Viet
See Also:
Serialized Form

Field Summary
static NodeId DEFAULT
          .
static NodeId PORTS_01
          .
static NodeId PORTS_02
          .
private  java.lang.String value
           
 
Constructor Summary
NodeId(java.lang.String value)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int hashCode()
           
static NodeId locate()
          Return the current node id.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT

public static final NodeId DEFAULT
.


PORTS_01

public static final NodeId PORTS_01
.


PORTS_02

public static final NodeId PORTS_02
.


value

private final java.lang.String value
Constructor Detail

NodeId

public NodeId(java.lang.String value)
Method Detail

toString

public java.lang.String toString()

equals

public boolean equals(java.lang.Object o)

hashCode

public int hashCode()

locate

public static NodeId locate()
                     throws java.lang.IllegalStateException
Return the current node id.

Returns:
the current node id
Throws:
java.lang.IllegalStateException - if not in a node context