当前页面:
在线文档首页 >
JBOSS Portal 2.6 API 英文版文档
NodeId - JBOSS Portal 2.6 API 英文版文档
org.jboss.portal.test.framework.server
Class NodeId
java.lang.Object
org.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
Constructor Summary |
NodeId(java.lang.String value)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
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
NodeId
public NodeId(java.lang.String value)
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