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

java.lang.Object
  extended by org.jboss.portal.test.framework.server.Node
Direct Known Subclasses:
GenericNode

public class Node
extends java.lang.Object

Version:
$Revision: 6136 $
Author:
Julien Viet

Field Summary
protected  NodeId id
          .
protected  java.util.Map serviceLookups
          .
 
Constructor Summary
Node(java.lang.String id, java.util.Map serviceLookups)
           
 
Method Summary
 NodeId getId()
          Returns the node id.
 java.lang.Object lookupService(java.lang.String serviceId)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

id

protected final NodeId id
.


serviceLookups

protected final java.util.Map serviceLookups
.

Constructor Detail

Node

public Node(java.lang.String id,
            java.util.Map serviceLookups)
Method Detail

getId

public NodeId getId()
Returns the node id.

Returns:
the node id

lookupService

public java.lang.Object lookupService(java.lang.String serviceId)
                               throws ServiceLookupFailedException
Throws:
ServiceLookupFailedException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object