Interface horb.orb.Restartable
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface horb.orb.Restartable

public interface Restartable
extends Object
Restartable object.
Typical usage:
    FileIOCI file = new FileIOCI(new HorbURL("file:///foo.fof"));
    Restartable object = file.load();
    object.restart();
	// the object works here
    // if you want to save it again...
    object.shutdown();
    file.save(object);
A foffile saved like the above can be run by the fofrun command.
See Also:
FileIOCI

Method Index

 o restart()
restart a revived object.
 o shutdown()
this method is called before saving the object.

Methods

 o restart
  public abstract void restart() throws HORBException, IOException
restart a revived object. this method is called after loading the object. Do work in this context.
 o shutdown
  public abstract void shutdown() throws HORBException, IOException
this method is called before saving the object. Various shutdown operations should be performed in this method.

All Packages  Class Hierarchy  This Package  Previous  Next  Index