Rio Project 4.2 API Documentation



org.rioproject.entry
Class ApplianceInfo

java.lang.Object
  extended by net.jini.entry.AbstractEntry
      extended by 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 :

Author:
Dennis Reedy
See Also:
Serialized Form

Field Summary
 String arch
           
 String hostAddress
           
 String hostName
           
 String jvmVendor
           
 String jvmVersion
           
 String osName
           
 String osVersion
           
 
Constructor Summary
ApplianceInfo()
           
 
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.
 
Methods inherited from class net.jini.entry.AbstractEntry
equals, equals, hashCode, hashCode, toString, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

ApplianceInfo

public ApplianceInfo()
Method Detail

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 © Rio Project.

Copyright © 2006-2011 Rio Project. All Rights Reserved.