ABLE, Version 1.1b

com.ibm.able.platform
Interface AblePlatform

All Known Implementing Classes:
AblePlatformSupport

public abstract interface AblePlatform
extends java.rmi.Remote

This class is meant to be registered with RMI and then used to gain access to other remote ABLE platform objects.

Version:
$Revision: 1.1 $, $Date: 2000/02/08 15:13:55 $

Method Summary
 java.lang.Object getNewObject(java.lang.String theClassName)
          Retrieve a reference to a new instance of the named class.
 java.lang.Object getNewObject(java.lang.String theClassName, java.lang.Object[] theInitArgs)
          Retrieve a reference to a new instance of the named class.
 java.lang.Object getTracer()
          Retrieve the tracer object for this object factory.
 

Method Detail

getNewObject

public java.lang.Object getNewObject(java.lang.String theClassName)
                              throws java.rmi.RemoteException
Retrieve a reference to a new instance of the named class. The specified class must have a null constructor.
Parameters:
theClassName - The class name of the desired object. The class name must represent a legitimate Remote, Serializable object accessible via the classpath.

Returns:
A reference to a new, initialized object. Obviously, the caller is responsible for casting the returned object to the appropriate type.
Throws:
java.rmi.RemoteException - On any error.

getNewObject

public java.lang.Object getNewObject(java.lang.String theClassName,
                                     java.lang.Object[] theInitArgs)
                              throws java.rmi.RemoteException
Retrieve a reference to a new instance of the named class. The instance is created by calling the class's constructor with the specified arguments.
Parameters:
theClassName - The class name of the desired object. The class name must represent a legitimate Remote, Serializable object accessible via the classpath.

theInitArgs - An array of objects that will be passed to the constructor of the specified class.

Returns:
A reference to a new, initialized object. Obviously, the caller is responsible for casting the returned object to the appropriate type.
Throws:
java.rmi.RemoteException - On any error.

getTracer

public java.lang.Object getTracer()
                           throws java.rmi.RemoteException
Retrieve the tracer object for this object factory.
Returns:
A reference to this object factory's tracer object.
Throws:
java.rmi.RemoteException - On any error.

ABLE, Version 1.1b

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