org.apache.geronimo.clustering
Class AbstractNode
java.lang.Object
org.apache.geronimo.clustering.AbstractNode
- All Implemented Interfaces:
- Node
- Direct Known Subclasses:
- BasicLocalNode, RemoteNode
public abstract class AbstractNode
- extends Object
- implements Node
AbstractNode
public AbstractNode(String name)
getName
public String getName()
- Description copied from interface:
Node
- Gets the node name.
- Specified by:
getName
in interface Node
- Returns:
- Node name
getJMXConnector
public JMXConnector getJMXConnector()
throws IOException
- Specified by:
getJMXConnector
in interface Node
- Throws:
IOException
getHost
protected abstract String getHost()
getPort
protected abstract int getPort()
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.