ABLE, Version 1.1b

com.ibm.able.platform
Class Platform

java.lang.Object
  |
  +--com.ibm.able.platform.Platform

public class Platform
extends java.lang.Object
implements java.io.Serializable

This class contains general constants for ABLE's Platform Support code.

Version:
$Revision: 1.2 $, $Date: 2000/02/21 20:01:01 $
See Also:
Serialized Form

Field Summary
static java.lang.String Owner
          The owner of all ABLE platform support agents.
static java.lang.String PlatformName
          The beginning name of any ABLE Agent Platform.
static java.lang.String PlatformOwner
          The owner of any ABLE Agent Platform.
static PlatformPreferences Preferences
          The current set of preferences.
static java.lang.String Signature
          The signature of all ABLE platform support agents.
 
Constructor Summary
Platform()
           
 
Method Summary
static java.lang.String Copyright()
          Determine the copyright of this class.
static AblePlatform getAblePlatformOn(java.lang.String theHostName)
          Get an ABLE Platform Support object from the specified host.
static java.lang.Object getObjectOn(java.lang.String theHostName, java.lang.String theObjectName, java.lang.Object[] theInitArgs)
          Get an object reference from the specified host.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Owner

public static final java.lang.String Owner
The owner of all ABLE platform support agents.

PlatformName

public static final java.lang.String PlatformName
The beginning name of any ABLE Agent Platform. A host name is tacked on to the end.

PlatformOwner

public static final java.lang.String PlatformOwner
The owner of any ABLE Agent Platform.

Signature

public static final java.lang.String Signature
The signature of all ABLE platform support agents.

Preferences

public static final PlatformPreferences Preferences
The current set of preferences.
Constructor Detail

Platform

public Platform()
Method Detail

getAblePlatformOn

public static AblePlatform getAblePlatformOn(java.lang.String theHostName)
                                      throws java.rmi.RemoteException
Get an ABLE Platform Support object from the specified host.
Parameters:
theHostName - A string representing the name of a host where an ABLE Platform Support object has been registered.

Returns:
An ABLE Platform Support object from the host.
Throws:
java.rmi.RemoteException - On any error.

getObjectOn

public static java.lang.Object getObjectOn(java.lang.String theHostName,
                                           java.lang.String theObjectName,
                                           java.lang.Object[] theInitArgs)
                                    throws java.rmi.RemoteException
Get an object reference from the specified host.
Parameters:
theHostName - A string representing the simple name of a host system; for example, "BinfordRemoteHost99".

theObjectName - A string representing the name of a Java object. This name must be fully qualified; for example, "com.binford.ToolUpdates", and it must be accessible through the CLASSPATH at the remote host.

theInitArgs - A list of arguments to be passed to the constructor of the new object. If the object's constructor takes no arguments, this parameter must be null.

Returns:
An Object which must be cast to an appropriate RMI interface.
Throws:
java.rmi.RemoteException - On any error.

Copyright

public static java.lang.String Copyright()
Determine the copyright of this class.
Returns:
A String containing this class's copyright statement.

ABLE, Version 1.1b

ABLE: Produced by Joe, Don, and Jeff who say, 'Thanks for your support.'