com.sas
Class ObjectLoaderThread

com.sas.ObjectLoaderThread
All Implemented Interfaces:
java.lang.Runnable

public class ObjectLoaderThread
implements java.lang.Runnable


Field Summary
protected  java.lang.Object m_container
           
protected  boolean m_failed
           
protected  java.io.ObjectInputStream m_in
           
protected  java.util.Hashtable m_objects
           
protected  java.lang.Thread m_thread
           
 
Constructor Summary
ObjectLoaderThread(java.lang.Object container, java.io.ObjectInputStream in)
          Create a new ObjectLoaderThread object
 
Method Summary
 boolean didFail()
           
 java.util.Hashtable getObjects()
           
 boolean isAlive()
           
 void run()
          This method is run when the thread is started.
 void start()
          Starts the thread
 void stop()
          Stops the thread
 

Field Detail

m_container

protected java.lang.Object m_container

m_in

protected java.io.ObjectInputStream m_in

m_objects

protected java.util.Hashtable m_objects

m_thread

protected java.lang.Thread m_thread

m_failed

protected boolean m_failed
Constructor Detail

ObjectLoaderThread

public ObjectLoaderThread(java.lang.Object container,
                          java.io.ObjectInputStream in)
Create a new ObjectLoaderThread object

Parameters:
container - Containing window (applet, frame)
in - ObjectInputStream to read the serialization file from
Method Detail

start

public void start()
Starts the thread


stop

public void stop()
Stops the thread


run

public void run()
This method is run when the thread is started. It will load all of the objects from the serialization file.

Specified by:
run in interface java.lang.Runnable

isAlive

public boolean isAlive()

didFail

public boolean didFail()

getObjects

public java.util.Hashtable getObjects()



Copyright © 2009 SAS Institute Inc. All Rights Reserved.