Rio Project 4.2 API Documentation
org.rioproject.entry
Class ApplianceInfo
java.lang.Object
net.jini.entry.AbstractEntry
org.rioproject.entry.ApplianceInfo
- All Implemented Interfaces:
- Serializable, Entry, ServiceControlled
public class ApplianceInfo
- extends AbstractEntry
- implements ServiceControlled
The ApplianceInfo class defines attributes that relate to system properties of
a compute resource (the appliance), namely :
- The host name and address
- Java Virtual Machine vendor & version
- The operating system name & version
- The hardware architecture of the compute resource
- Author:
- Dennis Reedy
- See Also:
- Serialized Form
|
Method Summary |
void |
initialize()
This initializes all attributes, using
java.net.InetAddress.getLocalHost() as the
address for the compute resource. |
void |
initialize(InetAddress address)
This initializes all attributes. |
osName
public String osName
osVersion
public String osVersion
arch
public String arch
jvmVendor
public String jvmVendor
jvmVersion
public String jvmVersion
hostName
public String hostName
hostAddress
public String hostAddress
ApplianceInfo
public ApplianceInfo()
initialize
public void initialize()
throws UnknownHostException
- This initializes all attributes, using
java.net.InetAddress.getLocalHost() as the
address for the compute resource.
- Throws:
UnknownHostException - If the local host cannot be obtained
initialize
public void initialize(InetAddress address)
- This initializes all attributes.
- Parameters:
address - The InetAddress of the compute resource
Copyright © 2006-2011 Rio Project. All Rights Reserved.