Bond objects


The Bond environment uses a special type of objects, the Bond object, which extends the basic java.lang.Object with some very important functionality. The enhancement added to it will serve the needs for every bond object.
We will take a look at a very small bondObject, and try all the features it has.:

//---------cut here ----------------//

import bond.core.*;
import bond.core.util.*;

public class myStarter extends bondExecutable{

        public myStarter(){
                dir.addAlias("Starter",this);
                System.out.println("myStarter:myStarter():\n"+toString());
        }

        public String toString(){
                 String myself="Info about bondObject:";
                myself+="\nbondID \t"+bondID;
                return myself;
        }

        public static void main(String argv[]){
                bondConfiguration.initSysProperties();
                dir= new bondDirectory();
                loader = new bondLoader();
                com = new bondCommunicator();
                conf = new bondConfiguration();
                new myStarter();
        }
} //end of class

// ---------- end cut here -----------//
Take a look at bond.core.bondObject. You can see that each object has asociated the following fields: bond.core.bondObject has also a set of methods that implement the following:

From the description above, we can deduce the following characteristics of the bond object: